diff options
author | Paul Gilbert | 2015-02-22 18:33:36 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-22 18:33:36 -0500 |
commit | c15ca5ca50d42ad73ab32243a9bd092a0c86cb72 (patch) | |
tree | 06eb64eb2b195a31aa0283f8be6f13b0b5d41cab /engines/xeen | |
parent | 3f27fd8bb766f9ac76fb5e450e62c4493ef121a9 (diff) | |
download | scummvm-rg350-c15ca5ca50d42ad73ab32243a9bd092a0c86cb72.tar.gz scummvm-rg350-c15ca5ca50d42ad73ab32243a9bd092a0c86cb72.tar.bz2 scummvm-rg350-c15ca5ca50d42ad73ab32243a9bd092a0c86cb72.zip |
XEEN: Fix compiler warning
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: |