mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-03-25 20:11:28 +00:00
Fixed bug in debug.qc which made non-debug releases stackfault.
This commit is contained in:
parent
5bfb4cb5aa
commit
aac67f34f0
1 changed files with 2 additions and 0 deletions
2
debug.qc
2
debug.qc
|
@ -16,6 +16,7 @@ void(entity who) MakeMeDebug;
|
|||
//==============================================================
|
||||
// A remove function which makes sure the entity hasn't already
|
||||
// been removed, and that it isn't the NIL object.
|
||||
#ifdef DEBUG
|
||||
void(entity te) dremove =
|
||||
{
|
||||
if (!te)
|
||||
|
@ -46,6 +47,7 @@ void(entity te) dremove =
|
|||
te.is_removed = TRUE;
|
||||
remove(te);
|
||||
};
|
||||
#endif
|
||||
|
||||
//==============================================================
|
||||
// A command which just dumps your current location to the screen
|
||||
|
|
Loading…
Reference in a new issue