aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/bottom_of_well_monitor.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-22 19:25:36 -0400
committerPaul Gilbert2016-08-22 19:25:36 -0400
commit65bc8cb83c01cc1e7e6c8c093b8f42080800718d (patch)
tree2b53d3e66b85ea775ab5131f2971764d93232183 /engines/titanic/game/bottom_of_well_monitor.cpp
parentf238ed18ec24debf7f1b8713abf1ce3ebbeeaec3 (diff)
downloadscummvm-rg350-65bc8cb83c01cc1e7e6c8c093b8f42080800718d.tar.gz
scummvm-rg350-65bc8cb83c01cc1e7e6c8c093b8f42080800718d.tar.bz2
scummvm-rg350-65bc8cb83c01cc1e7e6c8c093b8f42080800718d.zip
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/bottom_of_well_monitor.cpp')
-rw-r--r--engines/titanic/game/bottom_of_well_monitor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/titanic/game/bottom_of_well_monitor.cpp b/engines/titanic/game/bottom_of_well_monitor.cpp
index 373fe4cbdc..38211040d8 100644
--- a/engines/titanic/game/bottom_of_well_monitor.cpp
+++ b/engines/titanic/game/bottom_of_well_monitor.cpp
@@ -77,12 +77,12 @@ bool CBottomOfWellMonitor::ActMsg(CActMsg *msg) {
}
bool CBottomOfWellMonitor::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
- if (!compareTo("BOWTelevisionMonitor")) {
- if (_v2)
- changeView("BottomOfWell.Node 8.N", "");
- } else {
+ if (isEquals("BOWTelevisionMonitor")) {
if (_v1)
changeView("BottomOfWell.Node 7.N", "");
+ } else {
+ if (_v2)
+ changeView("BottomOfWell.Node 8.N", "");
}
return true;
@@ -90,14 +90,14 @@ bool CBottomOfWellMonitor::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
bool CBottomOfWellMonitor::EnterViewMsg(CEnterViewMsg *msg) {
if (_flag) {
- if (!compareTo("BOWTelevisionMonitor")) {
- if (_v2) {
- changeView("BottomOfWell.Node 8.N", "");
+ if (isEquals("BOWTelevisionMonitor")) {
+ if (_v1) {
+ changeView("BottomOfWell.Node 7.N", "");
_flag = false;
}
} else {
- if (_v1) {
- changeView("BottomOfWell.Node 7.N", "");
+ if (_v2) {
+ changeView("BottomOfWell.Node 8.N", "");
_flag = false;
}
}