From 7ed7e022f1ef4cabb35cd38f8c04a1bb9bd6461f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 5 Jul 2017 18:23:23 -0400 Subject: TITANIC: Fix parrot to only eat hot plain chickens --- engines/titanic/carry/chicken.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/titanic/carry') diff --git a/engines/titanic/carry/chicken.cpp b/engines/titanic/carry/chicken.cpp index 851b7b81e7..91d4c95fed 100644 --- a/engines/titanic/carry/chicken.cpp +++ b/engines/titanic/carry/chicken.cpp @@ -188,14 +188,14 @@ bool CChicken::PETGainedObjectMsg(CPETGainedObjectMsg *msg) { bool CChicken::ParrotTriesChickenMsg(CParrotTriesChickenMsg *msg) { if (_temperature > 0) - msg->_value1 = 1; + msg->_isHot = true; if (_condiment == "Tomato") { - msg->_value2 = 1; + msg->_condiment = 1; } else if (_condiment == "Mustard") { - msg->_value2 = 2; + msg->_condiment = 2; } else if (_condiment == "Bird") { - msg->_value2 = 3; + msg->_condiment = 3; } return true; -- cgit v1.2.3