diff options
author | Eugene Sandulenko | 2016-09-11 23:20:17 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-11 23:32:40 +0200 |
commit | 6172be6ef015ba54ac846ab82b5145ef53309f6b (patch) | |
tree | 332c37975bbf24cc6bf0fa5e763fd6501858ddd6 | |
parent | e4bcb910b0a17553dd3973cf0ffdd29e5e21b758 (diff) | |
download | scummvm-rg350-6172be6ef015ba54ac846ab82b5145ef53309f6b.tar.gz scummvm-rg350-6172be6ef015ba54ac846ab82b5145ef53309f6b.tar.bz2 scummvm-rg350-6172be6ef015ba54ac846ab82b5145ef53309f6b.zip |
DM: Fix logical error with local variables
-rw-r--r-- | engines/dm/projexpl.cpp | 2 |
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); } |