]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/impulse.qc
If a round hasn't started yet forbid primary and secondary fire, allow switching...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / impulse.qc
index 89e2744c2daeaa0afe65d7fad95a64d60e54b280..ceca2ce91c64c6c2b2455b80f3c8a8e2c139c683 100644 (file)
@@ -640,7 +640,7 @@ IMPULSE(navwaypoint_unreachable)
        IL_EACH(g_spawnpoints, true,
        {
                vector org = it.origin;
-               tracebox(it.origin, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin - '0 0 512', MOVE_NOMONSTERS, NULL);
+               tracebox(it.origin, PL_MIN_CONST, PL_MAX_CONST, it.origin - '0 0 512', MOVE_NOMONSTERS, NULL);
                setorigin(it, trace_endpos);
                if (navigation_findnearestwaypoint(it, false))
                {