Merge branch 'master' into terencehill/accuracy_shotgun
authorterencehill <piuntn@gmail.com>
Wed, 31 Jan 2018 18:17:40 +0000 (19:17 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 31 Jan 2018 18:17:40 +0000 (19:17 +0100)
# Conflicts:
# qcsrc/server/g_damage.qc

1  2 
qcsrc/common/mutators/mutator/nades/nades.qc
qcsrc/common/weapons/weapon/hagar.qc
qcsrc/server/client.qc
qcsrc/server/defs.qh
qcsrc/server/g_damage.qc
qcsrc/server/player.qc
qcsrc/server/weapons/accuracy.qc
qcsrc/server/weapons/tracing.qc

Simple merge
@@@ -2708,15 -2765,9 +2765,14 @@@ void PlayerPostThink (entity this
        }
  
        if (IS_PLAYER(this)) {
 +              if(this.death_time == time && IS_DEAD(this))
 +              {
 +                      this.maxs.z = 5;
 +                      setsize(this, this.mins, this.maxs);
 +              }
                DrownPlayer(this);
-               CheckRules_Player(this);
                UpdateChatBubble(this);
-               if (this.impulse) ImpulseCommands(this);
+               if (CS(this).impulse) ImpulseCommands(this);
                if (game_stopped)
                {
                        CSQCMODEL_AUTOUPDATE(this);
Simple merge
@@@ -542,8 -533,8 +533,8 @@@ void Freeze (entity targ, float revives
  
        STAT(FROZEN, targ) = frozen_type;
        targ.revive_progress = ((frozen_type == 3) ? 1 : 0);
-       targ.health = ((frozen_type == 3) ? targ_maxhealth : 1);
+       SetResourceAmount(targ, RESOURCE_HEALTH, ((frozen_type == 3) ? targ_maxhealth : 1));
 -      targ.revive_speed = freeze_time;
 +      targ.revive_speed = revivespeed;
        if(targ.bot_attack)
                IL_REMOVE(g_bot_targets, targ);
        targ.bot_attack = false;
Simple merge
Simple merge
Simple merge