+#include "door_rotating.qh"
#ifdef SVQC
/*QUAKED spawnfunc_func_door_rotating (0 .5 .8) ? START_OPEN BIDIR DOOR_DONT_LINK BIDIR_IN_DOWN x TOGGLE X_AXIS Y_AXIS
if two doors touch, they are assumed to be connected and operate as a unit.
void door_rotating_init_startopen(entity this)
{
- self.angles = self.movedir;
- self.pos2 = '0 0 0';
- self.pos1 = self.movedir;
+ this.angles = this.movedir;
+ this.pos2 = '0 0 0';
+ this.pos1 = this.movedir;
}
//this.effects |= EF_LOWPRECISION;
this.classname = "door_rotating";
- this.blocked = door_blocked;
+ setblocked(this, door_blocked);
this.use = door_use;
if(this.spawnflags & 8)