]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Temporary: Forcing blaster and shotgun to display in duel scoreboard
authorz411 <z411@omaera.org>
Thu, 22 Apr 2021 00:38:16 +0000 (20:38 -0400)
committerz411 <z411@omaera.org>
Thu, 22 Apr 2021 00:38:16 +0000 (20:38 -0400)
qcsrc/client/hud/panel/scoreboard.qc

index 66142f9392155c885a90929e974ffcf2ee76a334..ed8342aa495ea6960349738d4f33143385e2896a 100644 (file)
@@ -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;