aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-30 16:25:35 -0400
committerPaul Gilbert2016-10-30 16:25:35 -0400
commitec76eaec802835d76400b6753b54314ecd7857ff (patch)
tree85b403483a294e32cd62be327171ec80a97735b1 /engines/titanic/pet_control/pet_control.cpp
parent2a080979b8d0002a35edd0750de74b2dd4c05dea (diff)
downloadscummvm-rg350-ec76eaec802835d76400b6753b54314ecd7857ff.tar.gz
scummvm-rg350-ec76eaec802835d76400b6753b54314ecd7857ff.tar.bz2
scummvm-rg350-ec76eaec802835d76400b6753b54314ecd7857ff.zip
TITANIC: Fix PET rendering in Embarkation Lobby
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r--engines/titanic/pet_control/pet_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp
index 1876c4664e..d9f00c2974 100644
--- a/engines/titanic/pet_control/pet_control.cpp
+++ b/engines/titanic/pet_control/pet_control.cpp
@@ -463,7 +463,7 @@ void CPetControl::moveToHiddenRoom(CTreeItem *item) {
CRoomItem *room = getHiddenRoom();
if (room) {
item->detach();
- room->addUnder(item);
+ item->addUnder(room);
}
}