From: z411 Date: Thu, 22 Apr 2021 00:38:16 +0000 (-0400) Subject: Temporary: Forcing blaster and shotgun to display in duel scoreboard X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6b3545a8c4dfdea02145af24c585c2a19a93c1ff;p=xonotic%2Fxonotic-data.pk3dir.git Temporary: Forcing blaster and shotgun to display in duel scoreboard --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 66142f939..ed8342aa4 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -1360,7 +1360,7 @@ void Scoreboard_Duel_DrawTable(vector pos, bool invert, entity pl, entity tm) WepSet weapons_inmap = WepSet_GetFromStat_InMap(); FOREACH(Weapons, it != WEP_Null, { WepSet set = it.m_wepset; - if (!(weapons_inmap & set)) + if (!(weapons_inmap & set) && it != WEP_BLASTER && it != WEP_SHOTGUN) // z411 TODO : We'll be hardcoding this for now. continue; if (it.spawnflags & WEP_TYPE_OTHER) continue;