mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Dump a stack trace when running out of edicts.
This commit is contained in:
parent
7d8b0f96d6
commit
8691a2fbd1
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ ED_Alloc (progs_t *pr)
|
|||
|
||||
if (i == pr->max_edicts) {
|
||||
Sys_Printf ("WARNING: ED_Alloc: no free edicts\n");
|
||||
PR_DumpState (pr);
|
||||
i--; // step on whatever is the last edict
|
||||
e = EDICT_NUM (pr, i);
|
||||
if (pr->unlink)
|
||||
|
|
Loading…
Reference in a new issue