}
else
{
- strlcpy(buf, "<NO PROG>", sizeof(buf));
+ strlcpy(buf, "<NO PROG>", bufsize);
return;
}
void PRVM_PrintState(void)
{
int i;
+ if(prog->statestring)
+ {
+ Con_Printf("Caller-provided information: %s\n", prog->statestring);
+ }
if (prog->xfunction)
{
for (i = -7; i <= 0;i++)
}
}
}
-#undef PRVMRUNAWAYCHECK 1
+#undef PRVMRUNAWAYCHECK
}
else
{