git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2243
d7cf8633-e32d-0410-b094-
e92efae38249
}
FindEdictFieldOffsets(); // LordHavoc: update field offset list
+ PR_Execute_ProgsLoaded();
}
PR_StackTrace ();
Con_Printf ("%s\n", string);
- pr_depth = 0; // dump the stack so host_error can shutdown functions
+ // dump the stack so host_error can shutdown functions
+ pr_depth = 0;
+ localstack_used = 0;
Host_Error ("Program error");
}
return pr_stack[pr_depth].s;
}
+void PR_Execute_ProgsLoaded(void)
+{
+ // dump the stack
+ pr_depth = 0;
+ localstack_used = 0;
+}
+
/*
====================
PR_ExecuteProgram
extern unsigned short pr_crc;
void PR_RunError (char *error, ...);
+void PR_Execute_ProgsLoaded(void);
void ED_PrintEdicts (void);
void ED_PrintNum (int ent);