From: TimePath Date: Fri, 30 Oct 2015 12:01:57 +0000 (+1100) Subject: Viewmodels: replace missed replacement of weaponentity[i] to weaponchild X-Git-Tag: xonotic-v0.8.2~1601^2~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fd70ccfd1d88d929f8755f8747ec1c51cd89914e;p=xonotic%2Fxonotic-data.pk3dir.git Viewmodels: replace missed replacement of weaponentity[i] to weaponchild --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 01e69f4be..bcb068308 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -1490,8 +1490,8 @@ void FixIntermissionClient(entity e) if(e.weaponentity[slot]) { e.weaponentity[slot].effects = EF_NODRAW; - if (e.weaponentity[slot].weaponentity[slot]) - e.weaponentity[slot].weaponentity[slot].effects = EF_NODRAW; + if (e.weaponentity[slot].weaponchild) + e.weaponentity[slot].weaponchild.effects = EF_NODRAW; } } if(IS_REAL_CLIENT(e))