Fix minor redundancy in nexball dphitcontentsmask
authorMario <mario@smbclan.net>
Mon, 17 Oct 2016 14:01:29 +0000 (00:01 +1000)
committerMario <mario@smbclan.net>
Mon, 17 Oct 2016 14:01:29 +0000 (00:01 +1000)
qcsrc/common/gamemodes/gamemode/nexball/nexball.qc

index c9cfb00f6ed475ed324fdf65813dda0dc2ca0f30..d67ce5ff070ed640bfa70c342907e803616951ec 100644 (file)
@@ -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 = "";