From a4351972be88f5dc0284b944485c414e0c2bd1c9 Mon Sep 17 00:00:00 2001 From: Morosophos Date: Fri, 13 Sep 2019 16:06:47 +0300 Subject: [PATCH] One more braket reducing --- qcsrc/common/mapobjects/func/door.qc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index 2344d1fd8..c2b14d266 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -735,12 +735,9 @@ spawnfunc(func_door) { this.speed = 750; } - else + else if (!this.speed) { - if (!this.speed) - { - this.speed = 100; - } + this.speed = 100; } settouch(this, door_touch); -- 2.39.2