From: drjaska Date: Mon, 29 Nov 2021 17:10:46 +0000 (+0200) Subject: fix runner waypoint color back to blue X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b39269483430ed184a30cfae1250cccf697d689;p=xonotic%2Fxonotic-data.pk3dir.git fix runner waypoint color back to blue --- diff --git a/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc b/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc index 95d224a38..90225878a 100644 --- a/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc +++ b/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc @@ -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); }