a.z = ReadCoord();
bool restartanim = ReadByte();
setanim(viewmodel, a, restartanim == false, restartanim, restartanim);
+ viewmodel.state = ReadByte();
}
#endif
#ifdef SVQC
-void wframe_send(entity actor, vector a, bool restartanim)
+void wframe_send(entity actor, .entity weaponentity, vector a, bool restartanim)
{
if (!IS_REAL_CLIENT(actor)) return;
int channel = MSG_ONE;
WriteCoord(channel, a.y);
WriteCoord(channel, a.z);
WriteByte(channel, restartanim);
+ WriteByte(channel, actor.(weaponentity).state);
}
#endif