From: Mario Date: Thu, 3 Dec 2015 07:34:01 +0000 (+1000) Subject: Remove a now useless check X-Git-Tag: xonotic-v0.8.2~1578 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=75a369ff551c693e05841164bfedc9c3d21838d0;p=xonotic%2Fxonotic-data.pk3dir.git Remove a now useless check --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 4fa6820f8..9ba9cb1b2 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -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');