diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 13:04:08 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:27 +0000 |
commit | d7632e5105dade679356f042b33d0e01831a15f9 (patch) | |
tree | ebf2e318a057e9a9594b7727bd99813210aa57a7 /src/game | |
parent | 7872d52f6399455b3f4469f859552c11a1716919 (diff) |
I don't like redundant checks for stupid things
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_weapon.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 ) { |