Ensure that fast doors don't open slower with sv_doors_always_open 711/head
authorMorosophos <morosophos@teichisma.info>
Wed, 25 Sep 2019 09:00:39 +0000 (12:00 +0300)
committerMorosophos <morosophos@teichisma.info>
Wed, 25 Sep 2019 09:00:39 +0000 (12:00 +0300)
qcsrc/common/mapobjects/func/door.qc

index c2b14d2..e9fd04b 100644 (file)
@@ -733,7 +733,7 @@ spawnfunc(func_door)
 
         if(autocvar_sv_doors_always_open)
         {
-                this.speed = 750;
+                this.speed = max(750, this.speed);
         }
         else if (!this.speed)
         {