From 33287b765735e48185d45f7367eb091310c715f4 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 10 Sep 2016 00:12:07 +0200 Subject: DM: Fix regression in 4613e8ffad84e76d06024448f9215439d5cea5e7 --- engines/dm/gfx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/dm') 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 */ -- cgit v1.2.3