CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

RPG: Catch attempts to set string predefined vars as numbers #494

Closed Hypexion closed 1 year ago

Hypexion commented 1 year ago

If an architect attempts to set a predefined string var to a number, the game will eventually hit an assert in CCharacter::setPredefinedVarInt. Instead of this, the switch statement should be broken out of for these vars.