diff options
author | Paul Gilbert | 2018-01-23 20:37:43 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-01-23 20:37:43 -0500 |
commit | 91405a53f4b7075c916d69e78d33b850318c2047 (patch) | |
tree | a313a74860f7a3609366febd0f98781bd85f5ffe /engines/xeen | |
parent | 770efbe803ee8a1a78909af10f913d415f97b29e (diff) | |
download | scummvm-rg350-91405a53f4b7075c916d69e78d33b850318c2047.tar.gz scummvm-rg350-91405a53f4b7075c916d69e78d33b850318c2047.tar.bz2 scummvm-rg350-91405a53f4b7075c916d69e78d33b850318c2047.zip |
XEEN: Fix resetting HP for Medusa Sprites each combat turn
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/interface.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp index b0559f3f80..ad38b390b7 100644 --- a/engines/xeen/interface.cpp +++ b/engines/xeen/interface.cpp @@ -1678,7 +1678,9 @@ void Interface::doCombat() { for (uint idx = 0; idx < map._mobData._monsters.size(); ++idx) { MazeMonster &monster = map._mobData._monsters[idx]; if (monster._spriteId == 53) { - warning("TODO: Monster 53's HP is altered here?!"); + // For Medusa sprites, their HP keeps getting reset + MonsterStruct &monsData = map._monsterData[53]; + monster._hp = monsData._hp; } } |