From: Mario Date: Fri, 12 Oct 2018 17:28:13 +0000 (+1000) Subject: Set nodrawtoclient on the server-side view model (doesn't need to render) X-Git-Tag: xonotic-v0.8.5~1781 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cb4bc1915273c326fa72e648e3ac29e96bed407f;p=xonotic%2Fxonotic-data.pk3dir.git Set nodrawtoclient on the server-side view model (doesn't need to render) --- diff --git a/qcsrc/server/weapons/weaponsystem.qc b/qcsrc/server/weapons/weaponsystem.qc index 2156c89b4..1f8c58be1 100644 --- a/qcsrc/server/weapons/weaponsystem.qc +++ b/qcsrc/server/weapons/weaponsystem.qc @@ -179,6 +179,7 @@ void CL_SpawnWeaponentity(entity actor, .entity weaponentity) setthink(view, CL_Weaponentity_Think); view.nextthink = time; view.viewmodelforclient = actor; + view.nodrawtoclient = actor; view.draggable = drag_undraggable; setcefc(view, CL_Weaponentity_CustomizeEntityForClient);