]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/func/door.qc
Set func_door speed to 400 if it's unspecified and sv_q3defragcompat is enabled
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / func / door.qc
index 57faf51455f18f0c47b5732dbf199045d73ed27d..11196ab38d7f2bbcce2418a3bfd3f201be84bed4 100644 (file)
@@ -737,7 +737,10 @@ spawnfunc(func_door)
         }
         else if (!this.speed)
         {
-                this.speed = 100;
+               if (autocvar_sv_q3defragcompat)
+                       this.speed = 400;
+               else
+                       this.speed = 100;
         }
 
        settouch(this, door_touch);