]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/nexball/nexball.qc
Fix minor redundancy in nexball dphitcontentsmask
[xonotic/xonotic-data.pk3dir.git] / 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 = "";