aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dm/projexpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/projexpl.cpp b/engines/dm/projexpl.cpp
index b7b932f9b5..786a3b0c7b 100644
--- a/engines/dm/projexpl.cpp
+++ b/engines/dm/projexpl.cpp
@@ -359,7 +359,7 @@ int16 ProjExpl::projectileGetImpactCount(int16 impactType, int16 mapX, int16 map
if ((impactType == kM1_CreatureElemType) && (_creatureDamageOutcome == k2_outcomeKilledAllCreaturesInGroup))
break;
- Thing curThing = _vm->_dungeonMan->getSquareFirstThing(mapX, mapY);
+ curThing = _vm->_dungeonMan->getSquareFirstThing(mapX, mapY);
} else
curThing = _vm->_dungeonMan->getNextThing(curThing);
}