-#ifdef REGISTER_TURRET
+#ifndef IMPLEMENTATION
REGISTER_TURRET(
/* TUR_##id */ FUSIONREACTOR,
/* function */ t_fusionreactor,
return true;
}
-void spawnfunc_turret_fusionreactor() { SELFPARAM(); if(!turret_initialize(TUR_FUSIONREACTOR)) remove(self); }
+spawnfunc(turret_fusionreactor) { if(!turret_initialize(TUR_FUSIONREACTOR.m_id)) remove(self); }
float t_fusionreactor(float req)
{SELFPARAM();
}
case TR_PRECACHE:
{
- precache_model ("models/turrets/base.md3");
- precache_model ("models/turrets/reactor.md3");
return true;
}
}