diff options
Diffstat (limited to 'engines/titanic/game/television.cpp')
-rw-r--r-- | engines/titanic/game/television.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/game/television.cpp b/engines/titanic/game/television.cpp index 5127712cad..a3f8ec3391 100644 --- a/engines/titanic/game/television.cpp +++ b/engines/titanic/game/television.cpp @@ -277,10 +277,12 @@ bool CTelevision::TurnOn(CTurnOn *msg) { bool CTelevision::LightsMsg(CLightsMsg *msg) { CPetControl *pet = getPetControl(); + bool flag = false; + if (pet) - pet->fn4(); + flag = pet->isRoom59706(); - if (msg->_field8 || !_turnOn) + if (msg->_field8 || !flag) _turnOn = true; return true; |