#include "onslaught.qh"
-#ifndef MENUQC
+#ifdef GAMEQC
REGISTER_NET_LINKED(ENT_ONSCAMERA)
#endif
entity generator_camera;
NET_HANDLE(ENT_ONSCAMERA, bool isnew)
{
- this.origin_x = ReadCoord();
- this.origin_y = ReadCoord();
- this.origin_z = ReadCoord();
+ this.origin = ReadVector();
setorigin(this, this.origin);
this.angles_x = ReadAngle();