diff options
| author | Paweł Redman <pawel.redman@gmail.com> | 2018-11-12 21:30:01 +0100 | 
|---|---|---|
| committer | Paweł Redman <pawel.redman@gmail.com> | 2019-02-10 14:47:47 +0100 | 
| commit | 01d000a4e2c509ffa0d628a37ae24115ea6bf1be (patch) | |
| tree | 3e746378c32aae29858399746e942d40940ac01b /src/game/g_combat.c | |
| parent | cc57d1bf292667944c2712333c226defe4204417 (diff) | |
Prototype anti-stacking system
Diffstat (limited to 'src/game/g_combat.c')
| -rw-r--r-- | src/game/g_combat.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index f0ea442..8dd4a44 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -507,7 +507,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int      if( self->client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS )      {        //nice simple happy bouncy human land -      float classValue = BG_FindValueOfClass( self->client->ps.stats[ STAT_PCLASS ] ); +      float classValue = BG_FindValueOfClass( self->client->ps.stats[ STAT_PCLASS ] ) * level.humanHandicap;        for( i = 0; i < MAX_CLIENTS; i++ )        { @@ -540,7 +540,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int      else if( self->client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS )      {        //horribly complex nasty alien land -      float humanValue = BG_GetValueOfHuman( &self->client->ps ); +      float humanValue = BG_GetValueOfHuman( &self->client->ps ) * level.alienHandicap;        int   frags;        int   unclaimedFrags = (int)humanValue;  | 
