diff options
author | Paul Gilbert | 2016-08-22 19:25:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-22 19:25:36 -0400 |
commit | 65bc8cb83c01cc1e7e6c8c093b8f42080800718d (patch) | |
tree | 2b53d3e66b85ea775ab5131f2971764d93232183 /engines/titanic/game/television.cpp | |
parent | f238ed18ec24debf7f1b8713abf1ce3ebbeeaec3 (diff) | |
download | scummvm-rg350-65bc8cb83c01cc1e7e6c8c093b8f42080800718d.tar.gz scummvm-rg350-65bc8cb83c01cc1e7e6c8c093b8f42080800718d.tar.bz2 scummvm-rg350-65bc8cb83c01cc1e7e6c8c093b8f42080800718d.zip |
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/television.cpp')
-rw-r--r-- | engines/titanic/game/television.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/game/television.cpp b/engines/titanic/game/television.cpp index b3c10d4ca4..235fc9c7b0 100644 --- a/engines/titanic/game/television.cpp +++ b/engines/titanic/game/television.cpp @@ -121,16 +121,16 @@ bool CTelevision::LeaveViewMsg(CLeaveViewMsg *msg) { } bool CTelevision::ChangeSeasonMsg(CChangeSeasonMsg *msg) { - if (msg->_season.compareTo("Autumn")) { + if (msg->_season == "Autumn") { _v1 = 545; _v3 = 0; - } else if (msg->_season.compareTo("Winter")) { + } else if (msg->_season == "Winter") { _v1 = 503; _v3 = 0; - } else if (msg->_season.compareTo("Spring")) { + } else if (msg->_season == "Spring") { _v1 = 517; _v3 = 0; - } else if (msg->_season.compareTo("Winter")) { + } else if (msg->_season == "Summer") { _v1 = 531; _v3 = 0; } |