diff options
author | Filippos Karapetis | 2009-04-25 23:57:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-04-25 23:57:26 +0000 |
commit | 9af7d48a04ab8307e20543557717ba130dc37bf5 (patch) | |
tree | 640da193026934cea583e28ad48306b0bd346ec6 /engines/kyra | |
parent | 97f3277f8f7feed441b7aede7cc8b4efe1375efb (diff) | |
download | scummvm-rg350-9af7d48a04ab8307e20543557717ba130dc37bf5.tar.gz scummvm-rg350-9af7d48a04ab8307e20543557717ba130dc37bf5.tar.bz2 scummvm-rg350-9af7d48a04ab8307e20543557717ba130dc37bf5.zip |
Changed the attacker parameter from 0 to 0xFFFF in inflictDamage() (which was probably the original intended value) and added a FIXME
svn-id: r40149
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sprites_lol.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/sprites_lol.cpp b/engines/kyra/sprites_lol.cpp index 97a2e95875..a609847988 100644 --- a/engines/kyra/sprites_lol.cpp +++ b/engines/kyra/sprites_lol.cpp @@ -1242,7 +1242,9 @@ bool LoLEngine::chasePartyWithDistanceAttacks(MonsterInPlay *monster) { if (item) setItemPosition(item, _partyPosX, _partyPosY, 0, 1); - inflictDamage(i, 20, 0, 0, 2); + // FIXME: attacker is a uint16, and -1 was used here. It has been substituted with 0xFFFF, which could + // be the original intended value + inflictDamage(i, 20, 0xFFFF, 0, 2); } } else if (flyingObject == 3) { |