From b38aeaf064aeadf8dd5eb3b9aa3278e6ac4c7772 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Tue, 23 Apr 2019 18:19:41 +0100 Subject: [PATCH] Made TextScriptProc return 0 if it encounters an unknown command This is what the original game does --- src/TextScr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/TextScr.cpp b/src/TextScr.cpp index aecb7ef8..1e0a9590 100644 --- a/src/TextScr.cpp +++ b/src/TextScr.cpp @@ -1236,8 +1236,7 @@ int TextScriptProc() //MessageBoxA(0, str_0, "G[", 0); - gTS.p_read += 4; - return 1; + return 0; } } else