diff options
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/combat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/combat.cpp b/engines/xeen/combat.cpp index 4b9ddd6323..471fefd751 100644 --- a/engines/xeen/combat.cpp +++ b/engines/xeen/combat.cpp @@ -1623,7 +1623,7 @@ bool Combat::hitMonster(Character &c, RangeType rangeType) { Map &map = *_vm->_map; getWeaponDamage(c, rangeType); int chance = c.statBonus(c.getStat(ACCURACY)) + _hitChanceBonus; - int divisor; + int divisor = 0; switch (c._class) { case CLASS_KNIGHT: |