diff options
author | Paul Gilbert | 2017-01-16 11:50:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-16 11:50:42 -0500 |
commit | efb43d9621d42e8da40d1db5dda40d889e362d8a (patch) | |
tree | 0e3fd353f90d991c95120e29ab59f82df047bda0 /engines/titanic/game/television.cpp | |
parent | 3e2f084b412f178c884d0b4cfc81fce29beaf007 (diff) | |
download | scummvm-rg350-efb43d9621d42e8da40d1db5dda40d889e362d8a.tar.gz scummvm-rg350-efb43d9621d42e8da40d1db5dda40d889e362d8a.tar.bz2 scummvm-rg350-efb43d9621d42e8da40d1db5dda40d889e362d8a.zip |
TITANIC: Renaming checks for player's first class suite
Diffstat (limited to 'engines/titanic/game/television.cpp')
-rw-r--r-- | engines/titanic/game/television.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/television.cpp b/engines/titanic/game/television.cpp index 9dce393061..dbef81151c 100644 --- a/engines/titanic/game/television.cpp +++ b/engines/titanic/game/television.cpp @@ -283,12 +283,12 @@ bool CTelevision::TurnOn(CTurnOn *msg) { bool CTelevision::LightsMsg(CLightsMsg *msg) { CPetControl *pet = getPetControl(); - bool flag = false; + bool isYourStateroom = false; if (pet) - flag = pet->isRoom59706(); + isYourStateroom = pet->isFirstClassSuite(); - if (msg->_topLeft || !flag) + if (msg->_topLeft || !isYourStateroom) _turnOn = true; return true; |