From d7632e5105dade679356f042b33d0e01831a15f9 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 13:04:08 +0000 Subject: I don't like redundant checks for stupid things --- src/game/g_weapon.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/game') diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 963acf91..9749bec1 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -38,9 +38,6 @@ void G_ForceWeaponChange( gentity_t *ent, weapon_t weapon ) { playerState_t *ps = &ent->client->ps; - if( !ent ) - return; - // stop a reload in progress if( ps->weaponstate == WEAPON_RELOADING ) { -- cgit