]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Shotgun accuracy stats: also count damage dealt by projectiles hitting the enemy...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index 381373ad2bcb713d93ccc4046efa6ac2341c14ed..da256e8f406faeb95173f2dbd62d31cd26434dce 100644 (file)
@@ -2708,6 +2708,11 @@ 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);