summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 13:04:08 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:27 +0000
commitd7632e5105dade679356f042b33d0e01831a15f9 (patch)
treeebf2e318a057e9a9594b7727bd99813210aa57a7 /src/game
parent7872d52f6399455b3f4469f859552c11a1716919 (diff)
I don't like redundant checks for stupid things
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_weapon.c3
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 )
{