From 8767c6a3a698d165fe9264a70081fd047244d679 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Tue, 16 Jun 2020 21:00:03 +1000 Subject: [PATCH] Set func_door speed to 400 if it's unspecified and sv_q3defragcompat is enabled --- qcsrc/common/mapobjects/func/door.qc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index 57faf5145..11196ab38 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -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); -- 2.39.2