]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/waypointsprites.qc
Add sv_itemstime cvar so itemstime can be completely disabled by the server
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / waypointsprites.qc
index f52643903d953f205ea1021a2d3b3103e7a6d374..b0c8cb1226eaeda11f432629baabccf5dee87f33 100644 (file)
@@ -201,6 +201,8 @@ float WaypointSprite_visible_for_player(entity e)
        // team waypoints
        if(self.rule == SPRITERULE_SPECTATOR)
        {
+               if(!autocvar_sv_itemstime)
+                       return FALSE;
                if(!warmup_stage && e.classname == "player")
                        return FALSE;
        }