aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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;