]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a now useless check
authorMario <mario@smbclan.net>
Thu, 3 Dec 2015 07:34:01 +0000 (17:34 +1000)
committerMario <mario@smbclan.net>
Thu, 3 Dec 2015 07:34:01 +0000 (17:34 +1000)
qcsrc/server/cl_client.qc

index 4fa6820f806007674498a6b39c879fce5c5e01d2..9ba9cb1b2bf0b3cd82524a7b20be50fbf44c154d 100644 (file)
@@ -2562,7 +2562,6 @@ void DrownPlayer(entity this)
        }
        else if (this.air_finished < time)
        {       // drown!
-               if (!this.deadflag)
                if (this.pain_finished < time)
                {
                        Damage (this, world, world, autocvar_g_balance_contents_playerdamage_drowning * autocvar_g_balance_contents_damagerate, DEATH_DROWN.m_id, this.origin, '0 0 0');