]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/waypointsprites.qc
Fix map vote cursor can't be moved if somebody connects to the server right on map...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / waypointsprites.qc
index 9ac90e3c35de2124ed394700372e28d224e2594c..2066aec68c7dd189bfcd8c30e48f27b8f94f4ce9 100644 (file)
@@ -423,7 +423,7 @@ void Draw_WaypointSprite()
                                spriteimage = self.netname;
                        break;
                case SPRITERULE_TEAMPLAY:
-                       if(t == FL_SPECTATOR + 1)
+                       if(t == NUM_SPECTATOR + 1)
                                spriteimage = self.netname3;
                        else if(self.team == t)
                                spriteimage = self.netname2;