- fixed: concmd_actor wrote beyond the end of the ScriptCode array.

This was causing spurious crashes.
This commit is contained in:
Christoph Oelckers 2020-09-26 12:46:56 +02:00
parent 3210dd5782
commit e549aa0527

View file

@ -1192,7 +1192,6 @@ int ConCompiler::parsecommand()
for (j = 0; j < 4; j++) for (j = 0; j < 4; j++)
{ {
setscriptvalue(parsing_actor + j, 0);
if (j == 3) if (j == 3)
{ {
j = 0; j = 0;