mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
SCUMM: INSANE: fix a long standing bug discovered by static code analysis
svn-id: r53581
This commit is contained in:
parent
937cf6cd7a
commit
dd7a2f75c0
@ -1328,7 +1328,7 @@ void Insane::turnEnemy(bool battle) {
|
||||
if (_actor[1].damage < _actor[1].maxdamage) {
|
||||
_actor[1].lost = false;
|
||||
} else {
|
||||
if (!_actor[1].lost && !_actor[1].lost) {
|
||||
if (!_actor[1].lost && !_actor[0].lost) {
|
||||
_actor[1].lost = true;
|
||||
_actor[1].act[2].state = 36;
|
||||
_actor[1].act[1].state = 36;
|
||||
|
Loading…
x
Reference in New Issue
Block a user