]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix runner waypoint color back to blue
authordrjaska <drjaska83@gmail.com>
Mon, 29 Nov 2021 17:10:46 +0000 (19:10 +0200)
committerdrjaska <drjaska83@gmail.com>
Mon, 29 Nov 2021 17:10:46 +0000 (19:10 +0200)
qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc

index 95d224a38e9806c473dac6e3af7ec2b779252455..90225878a870a953577b56f888979873f2a2730f 100644 (file)
@@ -548,7 +548,7 @@ void MH_RoundStart()
                                it.mh_status = MH_STATUS_RUNNER;
                                WaypointSprite_AttachCarrier(WP_Null, it, RADARICON_FLAGCARRIER);
                                WaypointSprite_UpdateRule(it.waypointsprite_attachedforcarrier, 0, SPRITERULE_DEFAULT);
-                               vector pl_color = colormapPaletteColor(it.clientcolors, false);
+                               vector pl_color = colormapPaletteColor(it.clientcolors & 0x0F, false);
                                WaypointSprite_UpdateTeamRadar(it.waypointsprite_attachedforcarrier, RADARICON_FLAGCARRIER, pl_color);
                                WaypointSprite_Ping(it.waypointsprite_attachedforcarrier);
                        }