From: Mario Date: Sat, 31 Dec 2016 00:41:28 +0000 (+1000) Subject: Don't modify the old weapon entity when observing X-Git-Tag: xonotic-v0.8.2~326^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=718fbc5612859bd3171b9955d84f08086a059177;p=xonotic%2Fxonotic-data.pk3dir.git Don't modify the old weapon entity when observing --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index a05999d62..08fb6d481 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -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;