[Scummvm-cvs-logs] scummvm master -> 286613183cd62e36eece6388d01ec963244aad23

Strangerke Strangerke at scummvm.org
Tue Dec 24 18:58:23 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
286613183c HOPKINS: Remove custom shouldQuit() as suggested by clone2727


Commit: 286613183cd62e36eece6388d01ec963244aad23
    https://github.com/scummvm/scummvm/commit/286613183cd62e36eece6388d01ec963244aad23
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-12-24T09:57:49-08:00

Commit Message:
HOPKINS: Remove custom shouldQuit() as suggested by clone2727

Changed paths:
    engines/hopkins/hopkins.cpp
    engines/hopkins/hopkins.h



diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index f557723..0e86fa2 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 7961607..b7c6a9b 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);






More information about the Scummvm-git-logs mailing list