From: FruitieX Date: Thu, 9 Dec 2010 20:30:18 +0000 (+0200) Subject: make the warning a backtrace instead X-Git-Tag: xonotic-v0.1.0preview~51^2~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0e6c7d843e3b8be0fbbc74eb95b66139ae9d5e0f;p=xonotic%2Fxonotic-data.pk3dir.git make the warning a backtrace instead --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index a9b829937..32d9bc176 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -1813,7 +1813,10 @@ void InitializeEntitiesRun() if(func != func_null) func(); else - dprint("^1WARNING: Skipped initialization: ", self.classname, "\n"); + { + eprint(self); + backtrace(strcat("Null function in: ", self.classname, "\n")); + } self = e; } } diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 80072a736..9817b3b0e 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -760,7 +760,7 @@ void trigger_race_checkpoint_verify() //remove(trigger); } } - //remove(self); + remove(self); self = oldself; }