aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorFilippos Karapetis2008-09-03 09:58:28 +0000
committerFilippos Karapetis2008-09-03 09:58:28 +0000
commitdd8e875b000e8bffb340d8f1feaa57358475150d (patch)
tree8237e6860288b190fb2d65a03c9095b1ac93611b /engines/agi
parent80c47666db27f4008dc5c2bc5ed2f42a9183af68 (diff)
downloadscummvm-rg350-dd8e875b000e8bffb340d8f1feaa57358475150d.tar.gz
scummvm-rg350-dd8e875b000e8bffb340d8f1feaa57358475150d.tar.bz2
scummvm-rg350-dd8e875b000e8bffb340d8f1feaa57358475150d.zip
Commented out currently broken code, adding a FIXME
svn-id: r34297
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/cycle.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index 52c2ed8a78..3d29f45ea5 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -352,8 +352,10 @@ int AgiEngine::playGame() {
_game.vars[vKey] = 0;
}
- if (quit() == 0xff)
- ec = errRestartGame;
+ // FIXME: This has been broken with the merge of the RTL GSoC project. quit() returns a boolean, and we're trying to
+ // check it against 0xff, which is never going to be true
+ //if (quit() == 0xff)
+ // ec = errRestartGame;
if (shouldPerformAutoSave(_lastSaveTime)) {
saveGame(getSavegameFilename(0), "Autosave");