From 38617232009b8dc60fbf0821de1c5849c2b2474e Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 17 May 2017 21:55:01 +0000 Subject: [PATCH] Fix https://forums.duke4.net/topic/9285-con-compiler-bug/page__pid__276767 git-svn-id: https://svn.eduke32.com/eduke32@6132 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/gamedef.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/duke3d/src/gamedef.cpp b/source/duke3d/src/gamedef.cpp index d90b83794..04f64d093 100644 --- a/source/duke3d/src/gamedef.cpp +++ b/source/duke3d/src/gamedef.cpp @@ -2025,6 +2025,7 @@ static int32_t C_GetNextValue(int32_t type) *g_scriptPtr = 0; g_scriptPtr++; textptr+=l; + if (!l) textptr++; return -1; // error! }