aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-20 16:54:09 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commite8249722455321a67ee5edf831be1c6bb76a8b65 (patch)
treebb0577a1e423b88494423cde3c74bad24d4229fd /engines
parentaacecd6c06b08c719077130cfd113f302b51923b (diff)
downloadscummvm-rg350-e8249722455321a67ee5edf831be1c6bb76a8b65.tar.gz
scummvm-rg350-e8249722455321a67ee5edf831be1c6bb76a8b65.tar.bz2
scummvm-rg350-e8249722455321a67ee5edf831be1c6bb76a8b65.zip
DM: Fix activeGroup removal
Diffstat (limited to 'engines')
-rw-r--r--engines/dm/group.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dm/group.cpp b/engines/dm/group.cpp
index 5961f7cb92..e59a6e7846 100644
--- a/engines/dm/group.cpp
+++ b/engines/dm/group.cpp
@@ -1699,6 +1699,7 @@ void GroupMan::f183_addActiveGroup(Thing thing, int16 mapX, int16 mapY) {
warning(false, "Code differs from the original in GroupMan::f183_addActiveGroup");
//L0340_ps_Group = ((Group *)_vm->_dungeonMan->_g284_thingData[k4_GroupThingType]) + (L0341_ps_ActiveGroup->_groupThingIndex = (thing).getType());
+ L0341_ps_ActiveGroup->_groupThingIndex = thing.getType();
L0340_ps_Group = (Group*)_vm->_dungeonMan->f156_getThingData(f175_groupGetThing(mapX, mapY));
L0341_ps_ActiveGroup->_cells = L0340_ps_Group->_cells;