diff options
-rw-r--r-- | sword2/function.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index 2d602627e1..753c1a61a6 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -442,15 +442,16 @@ int32 FN_play_credits(int32 *params) } // returns non-zero if Ctrl-Q was pressed to quit the game during the credits - - if (rv || DEMO) // if Ctrl-Q pressed during credits, or if this is the playable demo +*/ + //if (rv || DEMO) // if Ctrl-Q pressed during credits, or if this is the playable demo + if (g_sword2->_gameId == GID_SWORD2_DEMO) { Close_game(); //close engine systems down CloseAppWindow(); exit(0); // quit the game } -*/ + return (IR_CONT); } //------------------------------------------------------------------------------------ |