From 298665e4648638cf2870f5a2cdcf2b5eeeeb671e Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 25 Feb 2013 17:04:09 +0100 Subject: [PATCH] Mini cleanup --- qcsrc/client/hud.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 6632bfed8..5d8a80885 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -721,7 +721,7 @@ void HUD_Weapons(void) weapon_id = self.impulse; // skip if this weapon doesn't exist - if (!self || self.impulse < 0) { continue; } + if(!self || weapon_id < 0) { continue; } // skip this weapon if we don't own it (and onlyowned is enabled)-- or if weapons_complainbubble is showing for this weapon if(autocvar_hud_panel_weapons_onlyowned) @@ -2685,7 +2685,7 @@ void HUD_Radar(void) draw_teamradar_player(view_origin, view_angles, '1 1 1'); drawresetcliparea(); -}; +} // Score (#7) // -- 2.39.2