aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2017-02-21 21:21:32 -0500
committerPaul Gilbert2017-02-21 21:21:32 -0500
commit902ce47c059f3263685d0324f8da51fca059dc02 (patch)
tree618996b2700727b1106e05ebb941895e31e513c2 /engines/tsage
parent1a25abbd739bdeaa04d562d35c0e3d9336a317ed (diff)
downloadscummvm-rg350-902ce47c059f3263685d0324f8da51fca059dc02.tar.gz
scummvm-rg350-902ce47c059f3263685d0324f8da51fca059dc02.tar.bz2
scummvm-rg350-902ce47c059f3263685d0324f8da51fca059dc02.zip
TSAGE: R2R: Don't allow F8 to start credits when they're already on
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/ringworld2/ringworld2_logic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index b41abe8cf9..e8d51109b1 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -1228,7 +1228,8 @@ void Ringworld2Game::processEvent(Event &event) {
case Common::KEYCODE_F8:
// F8 - Credits
- R2_GLOBALS._sceneManager.changeScene(205);
+ if (R2_GLOBALS._sceneManager._sceneNumber != 205)
+ R2_GLOBALS._sceneManager.changeScene(205);
break;
case Common::KEYCODE_F10: