}
if(self.noise != "")
- sound(self, CH_TRIGGER_SINGLE, self.noise, VOL_BASE, ATTEN_IDLE);
+ _sound(self, CH_TRIGGER_SINGLE, self.noise, VOL_BASE, ATTEN_IDLE);
}
#ifdef SVQC
target : targetname of first spawnfunc_path_corner (starts here)
*/
#ifdef SVQC
-void spawnfunc_func_train()
-{SELFPARAM();
+spawnfunc(func_train)
+{
if (self.noise != "")
precache_sound(self.noise);
// TODO make a reset function for this one
}
#elif defined(CSQC)
-void train_draw()
+void train_draw(entity this)
{
//Movetype_Physics_NoMatchServer();
Movetype_Physics_MatchServer(autocvar_cl_projectiles_sloppy);