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 08fb6d4..3b0da82 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;