diff options
author | Kari Salminen | 2009-07-14 15:02:17 +0000 |
---|---|---|
committer | Kari Salminen | 2009-07-14 15:02:17 +0000 |
commit | 9a2785bc3b3829688ffceccfc6563ed4c69cdc49 (patch) | |
tree | e1c57a60de493239ff5ca2f2de60e27b6c25e077 /engines/agi | |
parent | 845106c3b94f8b530a8e6029525fc1a0a98bba0f (diff) | |
download | scummvm-rg350-9a2785bc3b3829688ffceccfc6563ed4c69cdc49.tar.gz scummvm-rg350-9a2785bc3b3829688ffceccfc6563ed4c69cdc49.tar.bz2 scummvm-rg350-9a2785bc3b3829688ffceccfc6563ed4c69cdc49.zip |
Partially fix automatic restarting of AGI games (Addresses bug #2798797 ('AGI: larry 1 doesn't restart after dying') but doesn't fully fix it. There seems to be more to the problem still. Automatic restarting after dying of an STD doesn't take away the STD-condition and Larry continues to die in a loop).
svn-id: r42482
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/op_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp index 97255097bc..7012174c20 100644 --- a/engines/agi/op_cmd.cpp +++ b/engines/agi/op_cmd.cpp @@ -1256,7 +1256,7 @@ cmd(restart_game) { int sel; g_sound->stopSound(); - sel = g_agi->getflag(fAutoRestart) ? 1 : + sel = g_agi->getflag(fAutoRestart) ? 0 : g_agi->selectionBox(" Restart game, or continue? \n\n\n", buttons); if (sel == 0) { |