aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2016-09-10 00:12:07 +0200
committerStrangerke2016-09-10 00:12:07 +0200
commit33287b765735e48185d45f7367eb091310c715f4 (patch)
tree96716c71271d744f3132ebac35942fc7df2fa76d /engines
parent93fb0efc0bd297be9399cd03b3523cb9f8117691 (diff)
downloadscummvm-rg350-33287b765735e48185d45f7367eb091310c715f4.tar.gz
scummvm-rg350-33287b765735e48185d45f7367eb091310c715f4.tar.bz2
scummvm-rg350-33287b765735e48185d45f7367eb091310c715f4.zip
DM: Fix regression in 4613e8ffad84e76d06024448f9215439d5cea5e7
Diffstat (limited to 'engines')
-rw-r--r--engines/dm/gfx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp
index 56dacec504..3c992a8c65 100644
--- a/engines/dm/gfx.cpp
+++ b/engines/dm/gfx.cpp
@@ -3730,8 +3730,7 @@ T0115200_DrawExplosion:
blitToBitmap(bitmapRedBanana, _bitmapViewport, boxByteGreen, AL_4_xPos, 0, byteWidth, k112_byteWidthViewport, k10_ColorFlesh, heightRedEagle, k136_heightViewport);
}
}
- thingParam = _vm->_dungeonMan->getNextThing(thingParam);
- } while (thingParam != Thing::_endOfList);
+ } while ((thingParam = _vm->_dungeonMan->getNextThing(thingParam))!= Thing::_endOfList);
if ((fluxcageExplosion != 0) && (doorFrontViewDrawingPass != 1) && !_doNotDrawFluxcagesDuringEndgame) { /* Fluxcage is an explosion displayed as a field (like teleporters), above all other graphics */
AL_1_viewSquareExplosionIndex -= 3; /* Convert square index for explosions back to square index */