From: Mario Date: Mon, 17 Oct 2016 14:01:29 +0000 (+1000) Subject: Fix minor redundancy in nexball dphitcontentsmask X-Git-Tag: xonotic-v0.8.2~507 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b9961abee9904e89e1bd80aa93e49e5015d2f010;p=xonotic%2Fxonotic-data.pk3dir.git Fix minor redundancy in nexball dphitcontentsmask --- diff --git a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc index c9cfb00f6..d67ce5ff0 100644 --- a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc +++ b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc @@ -554,10 +554,7 @@ void SpawnBall(entity this) set_movetype(this, MOVETYPE_FLY); if(autocvar_g_nexball_playerclip_collisions) - { this.dphitcontentsmask = DPCONTENTS_BODY | DPCONTENTS_SOLID | DPCONTENTS_PLAYERCLIP; - this.dphitcontentsmask |= DPCONTENTS_PLAYERCLIP; - } if(!autocvar_g_nexball_sound_bounce) this.noise = "";