diff options
author | Paul Gilbert | 2018-03-31 17:04:07 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-31 17:04:07 -0400 |
commit | 3951c6d2f799e5e288459868acc348bea018061e (patch) | |
tree | 5c9d901a015b97ba67c250217e8a61a609a91fba /engines/xeen/combat.cpp | |
parent | fa28f4cfd9a63d6342875ca1825d716e91ebc1ac (diff) | |
download | scummvm-rg350-3951c6d2f799e5e288459868acc348bea018061e.tar.gz scummvm-rg350-3951c6d2f799e5e288459868acc348bea018061e.tar.bz2 scummvm-rg350-3951c6d2f799e5e288459868acc348bea018061e.zip |
XEEN: Fixes for enchanting items
Diffstat (limited to 'engines/xeen/combat.cpp')
-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 2c87018613..bec9942767 100644 --- a/engines/xeen/combat.cpp +++ b/engines/xeen/combat.cpp @@ -1408,7 +1408,7 @@ void Combat::attack2(int damage, RangeType rangeType) { if (monster._damageType == DT_SLEEP || monster._damageType == DT_DRAGONSLEEP) monster._damageType = DT_PHYSICAL; - if ((rangeType == RT_SINGLE || _damageType == DT_PHYSICAL) && _attackWeaponId != 34) { + if ((rangeType == RT_SINGLE || _damageType == DT_PHYSICAL) && _attackWeaponId < XEEN_SLAYER_SWORD) { if (monsterData._phsyicalResistence != 0) { if (monsterData._phsyicalResistence == 100) { // Completely immune to the damage |