aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/timeline.cpp
diff options
context:
space:
mode:
authorStrangerke2016-09-18 22:15:51 +0200
committerStrangerke2016-09-18 22:16:52 +0200
commit8bdabc16bde7b5d197797a9f1f2ff474ff7e726b (patch)
tree7513991726e83ce1cfe27e54398811ce0799612d /engines/dm/timeline.cpp
parent94cee9dead9e3bbea7dc7350c4071848d03c5325 (diff)
downloadscummvm-rg350-8bdabc16bde7b5d197797a9f1f2ff474ff7e726b.tar.gz
scummvm-rg350-8bdabc16bde7b5d197797a9f1f2ff474ff7e726b.tar.bz2
scummvm-rg350-8bdabc16bde7b5d197797a9f1f2ff474ff7e726b.zip
DM: Rename some more enums
Diffstat (limited to 'engines/dm/timeline.cpp')
-rw-r--r--engines/dm/timeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/timeline.cpp b/engines/dm/timeline.cpp
index 8c3f11c288..10c3aa07c6 100644
--- a/engines/dm/timeline.cpp
+++ b/engines/dm/timeline.cpp
@@ -412,7 +412,7 @@ void Timeline::processEventDoorAnimation(TimelineEvent *event) {
uint16 creatureAttributes = _vm->_dungeonMan->getCreatureAttributes(groupThing);
if ((groupThing != Thing::_endOfList) && !getFlag(creatureAttributes, kDMCreatureMaskNonMaterial)) {
if (doorState >= (verticalDoorFl ? CreatureInfo::getHeight(creatureAttributes) : 1)) { /* Creature height or 1 */
- if (_vm->_groupMan->getDamageAllCreaturesOutcome((Group *)_vm->_dungeonMan->getThingData(groupThing), mapX, mapY, 5, true) != k2_outcomeKilledAllCreaturesInGroup)
+ if (_vm->_groupMan->getDamageAllCreaturesOutcome((Group *)_vm->_dungeonMan->getThingData(groupThing), mapX, mapY, 5, true) != kDMKillOutcomeAllCreaturesInGroup)
_vm->_groupMan->processEvents29to41(mapX, mapY, kM3_TMEventTypeCreateReactionEvent29DangerOnSquare, 0);
int16 nextState = doorState - 1;