From: Morosophos Date: Fri, 13 Sep 2019 13:04:22 +0000 (+0300) Subject: Reduce layer of brackets X-Git-Tag: xonotic-v0.8.5~1277^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=091edb15dd6699badcbbe9e324abfd0817f27398;p=xonotic%2Fxonotic-data.pk3dir.git Reduce layer of brackets --- 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)