From e549aa0527448f4258a20bef8556c59d93dbad90 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 26 Sep 2020 12:46:56 +0200 Subject: [PATCH] - fixed: concmd_actor wrote beyond the end of the ScriptCode array. This was causing spurious crashes. --- source/games/duke/src/gamedef.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/games/duke/src/gamedef.cpp b/source/games/duke/src/gamedef.cpp index a42421907..629e753e3 100644 --- a/source/games/duke/src/gamedef.cpp +++ b/source/games/duke/src/gamedef.cpp @@ -1192,7 +1192,6 @@ int ConCompiler::parsecommand() for (j = 0; j < 4; j++) { - setscriptvalue(parsing_actor + j, 0); if (j == 3) { j = 0;