aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-20 23:57:59 -0500
committerPaul Gilbert2017-01-20 23:57:59 -0500
commit99bc212ccc4b241c490deaa598a0303bdca16a1b (patch)
tree7fc11b8ffb89c875773cfb6d3c4f4015aec7b081 /engines/titanic
parent9413afc2baa07732285d04e1169105b3065ff737 (diff)
downloadscummvm-rg350-99bc212ccc4b241c490deaa598a0303bdca16a1b.tar.gz
scummvm-rg350-99bc212ccc4b241c490deaa598a0303bdca16a1b.tar.bz2
scummvm-rg350-99bc212ccc4b241c490deaa598a0303bdca16a1b.zip
TITANIC: Excite Parrot when we come bearing chicken
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/true_talk/parrot_script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/parrot_script.cpp b/engines/titanic/true_talk/parrot_script.cpp
index 25b54f0715..f44b9d3be2 100644
--- a/engines/titanic/true_talk/parrot_script.cpp
+++ b/engines/titanic/true_talk/parrot_script.cpp
@@ -76,7 +76,7 @@ ScriptChangedResult ParrotScript::scriptChanged(const TTroomScript *roomScript,
} else {
if ((id == 280146 || id == 280147) && CTrueTalkManager::_currentNPC) {
CGameObject *chicken;
- if (CTrueTalkManager::_currentNPC->find("Chicken", &chicken, FIND_PET))
+ if (!CTrueTalkManager::_currentNPC->find("Chicken", &chicken, FIND_PET))
id = 280142;
}
@@ -90,7 +90,7 @@ ScriptChangedResult ParrotScript::scriptChanged(const TTroomScript *roomScript,
if (id >= 80000 && id <= 80244) {
if ((id == 80155 || id == 80156) && CTrueTalkManager::_currentNPC) {
CGameObject *chicken;
- if (CTrueTalkManager::_currentNPC->find("Chicken", &chicken, FIND_PET))
+ if (!CTrueTalkManager::_currentNPC->find("Chicken", &chicken, FIND_PET))
id = 80151;
}