From c21fc9efb4694f66366645487a2add25abdf3590 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Mon, 16 Jul 2012 01:38:21 +0000 Subject: * Simplify some weapon-related code (re r1431) --- src/cgame/cg_weapons.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/cgame/cg_weapons.c') diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c index 0d50e421..6d09d3d9 100644 --- a/src/cgame/cg_weapons.c +++ b/src/cgame/cg_weapons.c @@ -1353,10 +1353,7 @@ CG_WeaponSelectable */ static qboolean CG_WeaponSelectable( weapon_t weapon ) { - if( !BG_InventoryContainsWeapon( weapon, cg.snap->ps.stats ) ) - return qfalse; - - return qtrue; + return BG_InventoryContainsWeapon( weapon, cg.snap->ps.stats ); } -- cgit