WriteByte(MSG_ENTITY, sf);
if(sf & GSF_SETUP)
{
- WriteCoord(MSG_ENTITY, this.origin_x);
- WriteCoord(MSG_ENTITY, this.origin_y);
- WriteCoord(MSG_ENTITY, this.origin_z);
+ WriteVector(MSG_ENTITY, this.origin);
WriteByte(MSG_ENTITY, this.health);
WriteByte(MSG_ENTITY, this.max_health);