diff options
author | Strangerke | 2016-09-18 01:02:02 +0200 |
---|---|---|
committer | Strangerke | 2016-09-18 01:02:51 +0200 |
commit | ea8f3dfb19b2b269cf6aa407962ec209a88fa91e (patch) | |
tree | 101c5642b7065941ad5310d7c06a180d1ac3256c /engines/dm/timeline.cpp | |
parent | ffe2c802c471826913e79333a979d41c94a9cc67 (diff) | |
download | scummvm-rg350-ea8f3dfb19b2b269cf6aa407962ec209a88fa91e.tar.gz scummvm-rg350-ea8f3dfb19b2b269cf6aa407962ec209a88fa91e.tar.bz2 scummvm-rg350-ea8f3dfb19b2b269cf6aa407962ec209a88fa91e.zip |
DL: Enforce the use of CreatureType
Diffstat (limited to 'engines/dm/timeline.cpp')
-rw-r--r-- | engines/dm/timeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/timeline.cpp b/engines/dm/timeline.cpp index dd9b745d3d..c502481483 100644 --- a/engines/dm/timeline.cpp +++ b/engines/dm/timeline.cpp @@ -734,7 +734,7 @@ void Timeline::processEventSquareCorridor(TimelineEvent *event) { if (healthMultiplier == 0) healthMultiplier = _vm->_dungeonMan->_currMap->_difficulty; - _vm->_groupMan->groupGetGenerated(curSensor->getData(), healthMultiplier, creatureCount, (Direction)_vm->getRandomNumber(4), mapX, mapY); + _vm->_groupMan->groupGetGenerated((CreatureType)curSensor->getData(), healthMultiplier, creatureCount, (Direction)_vm->getRandomNumber(4), mapX, mapY); if (curSensor->getAttrAudibleA()) _vm->_sound->requestPlay(k17_soundBUZZ, mapX, mapY, kDMSoundModePlayIfPrioritized); |