aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorStrangerke2013-12-24 18:57:49 +0100
committerStrangerke2013-12-24 18:57:49 +0100
commit286613183cd62e36eece6388d01ec963244aad23 (patch)
tree70950129e0223372c1c5adf33c4ca4b4c219a8df /engines/hopkins
parent2f5e15d2e0b0fc158f7415ac9d99e30108c69932 (diff)
downloadscummvm-rg350-286613183cd62e36eece6388d01ec963244aad23.tar.gz
scummvm-rg350-286613183cd62e36eece6388d01ec963244aad23.tar.bz2
scummvm-rg350-286613183cd62e36eece6388d01ec963244aad23.zip
HOPKINS: Remove custom shouldQuit() as suggested by clone2727
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/hopkins.cpp3
-rw-r--r--engines/hopkins/hopkins.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index f557723fe6..0e86fa26a9 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -2912,7 +2912,4 @@ bool HopkinsEngine::isUnderwaterSubScene() {
return (_globals->_curRoomNum >= 77) && (_globals->_curRoomNum <= 89);
}
-bool HopkinsEngine::shouldQuit() {
- return getEventManager()->shouldQuit() || getEventManager()->shouldRTL();
-}
} // End of namespace Hopkins
diff --git a/engines/hopkins/hopkins.h b/engines/hopkins/hopkins.h
index 7961607db7..b7c6a9b5a9 100644
--- a/engines/hopkins/hopkins.h
+++ b/engines/hopkins/hopkins.h
@@ -168,7 +168,6 @@ public:
uint16 getVersion() const;
bool getIsDemo() const;
const Common::String &getTargetName() const;
- bool shouldQuit();
int getRandomNumber(int maxNumber);
Common::String generateSaveName(int slotNumber);