diff options
Diffstat (limited to 'engines/fullpipe/mgm.cpp')
-rw-r--r-- | engines/fullpipe/mgm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/fullpipe/mgm.cpp b/engines/fullpipe/mgm.cpp index 1c8ca2a7b1..8a7e72ec4a 100644 --- a/engines/fullpipe/mgm.cpp +++ b/engines/fullpipe/mgm.cpp @@ -158,7 +158,8 @@ void MGM::rebuildTables(int objId) { for (uint i = 0; i < obj->_staticsList.size(); i++) { _items[idx]->statics.push_back((Statics *)obj->_staticsList[i]); - _items[idx]->subItems.push_back(new MGMSubItem); + for (uint j = 0; j < obj->_staticsList.size(); j++) // Yes, square + _items[idx]->subItems.push_back(new MGMSubItem); } for (uint i = 0; i < obj->_movements.size(); i++) |