precache_sound(this.noise2);
}
- if (!this.wait)
- {
- this.wait = 3;
- }
+ if(autocvar_sv_doors_always_open)
+ {
+ this.wait = -1;
+ }
+ else
+ {
+ if (!this.wait)
+ {
+ this.wait = 3;
+ }
+ }
+
if (!this.lip)
{
this.lip = 8;
this.pos1 = this.origin;
this.pos2 = this.pos1 + this.movedir*(fabs(this.movedir*this.size) - this.lip);
- if (!this.speed)
- {
- this.speed = 100;
- }
+ if(autocvar_sv_doors_always_open)
+ {
+ this.speed = 750;
+ }
+ else
+ {
+ if (!this.speed)
+ {
+ this.speed = 100;
+ }
+ }
settouch(this, door_touch);