]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
make the warning a backtrace instead
authorFruitieX <fruitiex@gmail.com>
Thu, 9 Dec 2010 20:30:18 +0000 (22:30 +0200)
committerFruitieX <fruitiex@gmail.com>
Thu, 9 Dec 2010 20:30:18 +0000 (22:30 +0200)
qcsrc/server/miscfunctions.qc
qcsrc/server/race.qc

index a9b829937e2a1f3f46905c13f1ae10b27bf0192f..32d9bc176012e912d9f316fe66c0b07b52c17f89 100644 (file)
@@ -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;
     }
 }
index 80072a7361e87f003f3c75fa167a539ec1d7d30e..9817b3b0e1afaa45675b4755f45989da50afe0d6 100644 (file)
@@ -760,7 +760,7 @@ void trigger_race_checkpoint_verify()
                                        //remove(trigger);
                                }
        }
-       //remove(self);
+       remove(self);
        self = oldself;
 }