Don't modify the old weapon entity when observing
authorMario <mario@smbclan.net>
Sat, 31 Dec 2016 00:41:28 +0000 (10:41 +1000)
committerMario <mario@smbclan.net>
Sat, 31 Dec 2016 00:41:28 +0000 (10:41 +1000)
qcsrc/server/client.qc

index a05999d..08fb6d4 100644 (file)
@@ -345,8 +345,6 @@ void PutObserverInServer(entity this)
        {
                if(!this.weaponentities[slot])
                        continue; // first load
-               this.weaponentities[slot].hook_time = 0;
-               this.weaponentities[slot].weaponname = "";
                this.weaponentities[slot] = NULL;
        }
        this.exteriorweaponentity = NULL;