From 091edb15dd6699badcbbe9e324abfd0817f27398 Mon Sep 17 00:00:00 2001 From: Morosophos Date: Fri, 13 Sep 2019 16:04:22 +0300 Subject: [PATCH] Reduce layer of brackets --- 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 66de9fbb3..2344d1fd8 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -674,12 +674,9 @@ void door_init_shared(entity this) { this.wait = -1; } - else + else if (!this.wait) { - if (!this.wait) - { - this.wait = 3; - } + this.wait = 3; } if (!this.lip) -- 2.39.2