]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Don't modify the old weapon entity when observing
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index a05999d62987692eca018c02c64c2451c13e7e9e..08fb6d4810f660da4ea7a21b87c2562393c5daaa 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;