summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2010-02-25 17:20:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:27 +0000
commit56bdec8ad4cf7abfb8688d31625936be74d51642 (patch)
tree8fad0ab1ad49cae5ec736ed4a10f0c1bedcc766c /src/cgame/cg_weapons.c
parentb32ed763becd063b2fb2cd1221687d88945594c3 (diff)
* Remove hovel
* Require buildable names instead of buildnums in layouts
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index 8044fbf1..a166bf94 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -1218,8 +1218,7 @@ void CG_AddViewWeapon( playerState_t *ps )
wi = &cg_weapons[ weapon ];
cent = &cg.predictedPlayerEntity; // &cg_entities[cg.snap->ps.clientNum];
- if( ( ps->persistant[PERS_SPECSTATE] != SPECTATOR_NOT ) ||
- ( ps->stats[ STAT_STATE ] & SS_HOVELING ) )
+ if( ps->persistant[PERS_SPECSTATE] != SPECTATOR_NOT )
return;
// no weapon carried - can't draw it