+#include "corner.qh"
REGISTER_NET_LINKED(ENT_CLIENT_CORNER)
#ifdef SVQC
WriteString(MSG_ENTITY, this.platmovetype);
- WriteCoord(MSG_ENTITY, this.origin_x);
- WriteCoord(MSG_ENTITY, this.origin_y);
- WriteCoord(MSG_ENTITY, this.origin_z);
+ WriteVector(MSG_ENTITY, this.origin);
WriteString(MSG_ENTITY, this.target);
WriteString(MSG_ENTITY, this.target2);
{
this.platmovetype = strzone(ReadString());
- this.origin_x = ReadCoord();
- this.origin_y = ReadCoord();
- this.origin_z = ReadCoord();
+ this.origin = ReadVector();
setorigin(this, this.origin);
this.target = strzone(ReadString());