diff options
author | Paul Gilbert | 2016-11-06 20:52:36 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-06 20:52:36 -0500 |
commit | 11f9af68c94303d29b420f53414d9a8fc840b328 (patch) | |
tree | e9052dfe3ded77cc4369b964fdd3f403f38bee6f | |
parent | 42d66808371033144229a5c7ffb248af85e878c8 (diff) | |
download | scummvm-rg350-11f9af68c94303d29b420f53414d9a8fc840b328.tar.gz scummvm-rg350-11f9af68c94303d29b420f53414d9a8fc840b328.tar.bz2 scummvm-rg350-11f9af68c94303d29b420f53414d9a8fc840b328.zip |
TITANIC: Fix triggering BellBot summon
-rw-r--r-- | engines/titanic/core/game_object.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_control.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index a882039bf1..76a2f2d5c0 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -1613,7 +1613,7 @@ void CGameObject::petSetRooms1D4(int v) { void CGameObject::petOnSummonBot(const CString &name, int val) { CPetControl *pet = getPetControl(); if (pet) - pet->summonBot(name, val); + pet->onSummonBot(name, val); } void CGameObject::petUnlockInput() { diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index 294a99bbb1..606a957e72 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -604,6 +604,7 @@ void CPetControl::onSummonBot(const CString &name, int val) { COnSummonBotMsg summonMsg(val); summonMsg.execute(bot); + makeDirty(); } } |