]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove the if() check, all we're doing is setting it to null anyway
authorMario <mario@smbclan.net>
Sat, 31 Dec 2016 00:59:20 +0000 (10:59 +1000)
committerMario <mario@smbclan.net>
Sat, 31 Dec 2016 00:59:20 +0000 (10:59 +1000)
qcsrc/server/client.qc

index 08fb6d4810f660da4ea7a21b87c2562393c5daaa..3b0da8234043f96fbe3b7c21c1949136abe2b578 100644 (file)
@@ -343,8 +343,6 @@ void PutObserverInServer(entity this)
        this.weaponmodel = "";
        for (int slot = 0; slot < MAX_WEAPONSLOTS; ++slot)
        {
-               if(!this.weaponentities[slot])
-                       continue; // first load
                this.weaponentities[slot] = NULL;
        }
        this.exteriorweaponentity = NULL;