From 1ebda184dcdd0a6e3f86ef09577e8c6ff397fab5 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 19 Oct 2016 05:01:08 +1000 Subject: [PATCH] Fix control point icon spinning rapidly when it comes into view --- qcsrc/common/gamemodes/gamemode/onslaught/sv_controlpoint.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/common/gamemodes/gamemode/onslaught/sv_controlpoint.qc b/qcsrc/common/gamemodes/gamemode/onslaught/sv_controlpoint.qc index 491acdd00..0941833de 100644 --- a/qcsrc/common/gamemodes/gamemode/onslaught/sv_controlpoint.qc +++ b/qcsrc/common/gamemodes/gamemode/onslaught/sv_controlpoint.qc @@ -5,6 +5,8 @@ bool cpicon_send(entity this, entity to, int sf) { WriteHeader(MSG_ENTITY, ENT_CLIENT_CONTROLPOINT_ICON); + if(sf & CPSF_SETUP) + sf &= ~CPSF_STATUS; WriteByte(MSG_ENTITY, sf); if(sf & CPSF_SETUP) { -- 2.39.2