mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
properly close down when playing demo
svn-id: r9921
This commit is contained in:
parent
23ba54ec92
commit
5825a28330
@ -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);
|
||||
}
|
||||
//------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user