summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 59f513a0..26454f59 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -805,10 +805,10 @@ void poisonCloud( gentity_t *ent )
if( humanPlayer->client && humanPlayer->client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS )
{
- if( BG_gotItem( UP_LIGHTARMOUR, humanPlayer->client->ps.stats ) )
+ if( BG_InventoryContainsUpgrade( UP_LIGHTARMOUR, humanPlayer->client->ps.stats ) )
continue;
- if( BG_gotItem( UP_BATTLESUIT, humanPlayer->client->ps.stats ) )
+ if( BG_InventoryContainsUpgrade( UP_BATTLESUIT, humanPlayer->client->ps.stats ) )
continue;
trap_Trace( &tr, muzzle, NULL, NULL, humanPlayer->s.origin, humanPlayer->s.number, MASK_SHOT );