From 5db8fb9e34049dbc3f42fdb15995451aae4e857d Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 8 Aug 2016 13:47:47 +1000 Subject: [PATCH] Also reset observer's weapon stats --- qcsrc/server/cl_client.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index c212691db7..b9ada9722f 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -351,6 +351,10 @@ void PutObserverInServer(entity this) this.oldvelocity = this.velocity; this.fire_endtime = -1; this.event_damage = func_null; + + STAT(ACTIVEWEAPON, this) = WEP_Null.m_id; + STAT(SWITCHINGWEAPON, this) = WEP_Null.m_id; + STAT(SWITCHWEAPON, this) = WEP_Null.m_id; } int player_getspecies(entity this) -- 2.39.2