#ifdef SVQC
bool corner_send(entity to, int sf)
-{
+{SELFPARAM();
WriteByte(MSG_ENTITY, ENT_CLIENT_CORNER);
WriteString(MSG_ENTITY, self.platmovetype);
}
void spawnfunc_path_corner()
-{
+{SELFPARAM();
// setup values for overriding train movement
// if a second value does not exist, both start and end speeds are the single value specified
set_platmovetype(self, self.platmovetype);
#elif defined(CSQC)
void corner_remove()
-{
+{SELFPARAM();
if(self.target) { strunzone(self.target); }
self.target = string_null;
}
void ent_corner()
-{
+{SELFPARAM();
self.platmovetype = strzone(ReadString());
self.origin_x = ReadCoord();