diff options
Diffstat (limited to 'engines/kyra/magic_eob.cpp')
-rw-r--r-- | engines/kyra/magic_eob.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/magic_eob.cpp b/engines/kyra/magic_eob.cpp index 8b6de927bf..77971da441 100644 --- a/engines/kyra/magic_eob.cpp +++ b/engines/kyra/magic_eob.cpp @@ -201,6 +201,7 @@ void EobCoreEngine::castSpell(int spell, int weaponSlot) { } void EobCoreEngine::removeCharacterEffect(int spell, int charIndex, int showWarning) { + assert(spell >= 0); EobCharacter *c = &_characters[charIndex]; EobSpell *s = &_spells[spell]; |