]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server-testcase/framework.qc
Show nothing instead of "Respawning in 0 seconds" when server is respawning the playe...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server-testcase / framework.qc
index d9f1add2c5e26b4a7c5772d77647cea1e722fa31..1735e1c11335f4e672c7908de65bd12ca6a231cb 100644 (file)
@@ -1,18 +1,18 @@
-void dprint(string s, ...) = #25;
+void LOG_TRACE(string s, ...) = #25;
 string ftos(float f) = #26;
 string vtos(vector v) = #27;
 void error(string e) = #10;
 float test();
 
-void spawnfunc_worldspawn()
+spawnfunc(worldspawn)
 {
        float r;
-       dprint("TESTCASE: START\n");
+       LOG_TRACE("TESTCASE: START");
        r = test();
        if(r == 1)
-               error("TESTCASE: PASS"); 
+               error("TESTCASE: PASS");
        else if(r == 0)
-               error("TESTCASE: FAIL"); 
+               error("TESTCASE: FAIL");
        else
-               error("TESTCASE: INVALID"); 
+               error("TESTCASE: INVALID");
 }