diff options
author | Paul Gilbert | 2017-06-24 14:35:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-24 14:35:53 -0400 |
commit | deed6349196fa3c9696a017c41af1e3341a93560 (patch) | |
tree | 8d47bd2028d83ba46d5c31aa1ad3d5b2e560b32d /engines/titanic/game/parrot | |
parent | fb4b144469bb08297f9f40d2e17aa7132474c24e (diff) | |
download | scummvm-rg350-deed6349196fa3c9696a017c41af1e3341a93560.tar.gz scummvm-rg350-deed6349196fa3c9696a017c41af1e3341a93560.tar.bz2 scummvm-rg350-deed6349196fa3c9696a017c41af1e3341a93560.zip |
TITANIC: Renamings for nut bowl messages
Diffstat (limited to 'engines/titanic/game/parrot')
-rw-r--r-- | engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/game/parrot/parrot_nut_eater.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp b/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp index 69fc629606..56c096eec1 100644 --- a/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp +++ b/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp @@ -104,9 +104,9 @@ bool CParrotNutBowlActor::LeaveViewMsg(CLeaveViewMsg *msg) { } bool CParrotNutBowlActor::NutPuzzleMsg(CNutPuzzleMsg *msg) { - if (msg->_value == "NutsGone") + if (msg->_action == "NutsGone") _state = 1; - else if (msg->_value == "BowlUnlocked") + else if (msg->_action == "BowlUnlocked") _state = 2; return true; diff --git a/engines/titanic/game/parrot/parrot_nut_eater.cpp b/engines/titanic/game/parrot/parrot_nut_eater.cpp index 7196d76ccb..3068d54388 100644 --- a/engines/titanic/game/parrot/parrot_nut_eater.cpp +++ b/engines/titanic/game/parrot/parrot_nut_eater.cpp @@ -65,7 +65,7 @@ bool CParrotNutEater::ReplaceBowlAndNutsMsg(CReplaceBowlAndNutsMsg *msg) { } bool CParrotNutEater::NutPuzzleMsg(CNutPuzzleMsg *msg) { - if (msg->_value == "Jiggle") { + if (msg->_action == "Jiggle") { setVisible(true); playMovie(MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH); movieEvent(68); |