aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/game_object.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-12 11:07:25 -0400
committerPaul Gilbert2017-08-12 11:07:25 -0400
commiteaab1f0472ea98294f7716d233d795fe4845cb8f (patch)
tree2be48a9556d27a9ed68572cf205380f75bb11633 /engines/titanic/core/game_object.cpp
parent3cfb5bcdc534305a8e5d1b8bbd241e88eac83833 (diff)
downloadscummvm-rg350-eaab1f0472ea98294f7716d233d795fe4845cb8f.tar.gz
scummvm-rg350-eaab1f0472ea98294f7716d233d795fe4845cb8f.tar.bz2
scummvm-rg350-eaab1f0472ea98294f7716d233d795fe4845cb8f.zip
TITANIC: Fix duplication of RealLife icons when passenger class changes
Diffstat (limited to 'engines/titanic/core/game_object.cpp')
-rw-r--r--engines/titanic/core/game_object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 1519a2de66..580509252b 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -1354,7 +1354,7 @@ void CGameObject::setPassengerClass(PassengerClass newClass) {
// Setup the PET again, so the new class's PET background can take effect
CPetControl *petControl = getPetControl();
if (petControl)
- petControl->setup();
+ petControl->reset();
}
}