From 2f01efd9f3489f24ffaf6e1569605c521bea2376 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 1 Mar 2004 00:32:47 +0000 Subject: Add fix for error at end of sword2demo (From eriktorbjorn) Prevent false warnings in demo. svn-id: r13102 --- sword2/function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword2/function.cpp') 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. -- cgit v1.2.3