diff options
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 34ba74b70e..13a64dc0c5 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -455,7 +455,7 @@ int32 Logic::fnPlayCredits(int32 *params) { // FIXME: This probably isn't the correct way of shutting down ScummVM // Anyway, I don't know if we ever call this from the demo. - if (g_sword2->_gameId == GID_SWORD2_DEMO) { + if (g_sword2->_features & GF_DEMO) { Close_game(); // close engine systems down exit(0); // quit the game } |