FIXME: only one sound set available at the time being
*/
-void door_rotating_reset()
+void door_rotating_reset(entity this)
{
- self.angles = self.pos1;
- self.avelocity = '0 0 0';
- self.state = STATE_BOTTOM;
- self.think = func_null;
- self.nextthink = 0;
+ this.angles = this.pos1;
+ this.avelocity = '0 0 0';
+ this.state = STATE_BOTTOM;
+ this.think = func_null;
+ this.nextthink = 0;
}
-void door_rotating_init_startopen()
+void door_rotating_init_startopen(entity this)
{
self.angles = self.movedir;
self.pos2 = '0 0 0';
}
-void spawnfunc_func_door_rotating()
+spawnfunc(func_door_rotating)
{
//if (!self.deathtype) // map makers can override this