diff options
author | Travis Howell | 2004-03-01 00:32:47 +0000 |
---|---|---|
committer | Travis Howell | 2004-03-01 00:32:47 +0000 |
commit | 2f01efd9f3489f24ffaf6e1569605c521bea2376 (patch) | |
tree | 2678dc7a5acd6f4dc35f8d01136566412d5eee58 /sword2/function.cpp | |
parent | 807bc5e0fa341ebbe28742b412f8d319dd6b14ec (diff) | |
download | scummvm-rg350-2f01efd9f3489f24ffaf6e1569605c521bea2376.tar.gz scummvm-rg350-2f01efd9f3489f24ffaf6e1569605c521bea2376.tar.bz2 scummvm-rg350-2f01efd9f3489f24ffaf6e1569605c521bea2376.zip |
Add fix for error at end of sword2demo (From eriktorbjorn)
Prevent false warnings in demo.
svn-id: r13102
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r-- | sword2/function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index ea09e1de91..831411691c 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -398,7 +398,7 @@ int32 Logic::fnPlayCredits(int32 *params) { if (DEMO) { _vm->closeGame(); - return IR_CONT; + return IR_STOP; } // Prepare for the credits by fading down, stoping the music, etc. |