Skip to content

Commit

Permalink
TITANIC: Fix triggering BellBot summon
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 7, 2016
1 parent 42d6680 commit 11f9af6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion engines/titanic/core/game_object.cpp
Expand Up @@ -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() {
Expand Down
1 change: 1 addition & 0 deletions engines/titanic/pet_control/pet_control.cpp
Expand Up @@ -604,6 +604,7 @@ void CPetControl::onSummonBot(const CString &name, int val) {

COnSummonBotMsg summonMsg(val);
summonMsg.execute(bot);
makeDirty();
}
}

Expand Down

0 comments on commit 11f9af6

Please sign in to comment.