From: terencehill Date: Sun, 12 May 2019 01:33:45 +0000 (+0200) Subject: Fix some inconsistent indentation X-Git-Tag: xonotic-v0.8.5~1503 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=194d260f0805808bb5ab0474aa6d84b77b6fab60;p=xonotic%2Fxonotic-data.pk3dir.git Fix some inconsistent indentation --- diff --git a/qcsrc/common/weapons/all.qh b/qcsrc/common/weapons/all.qh index 42805b3a0..b9cc4ada7 100644 --- a/qcsrc/common/weapons/all.qh +++ b/qcsrc/common/weapons/all.qh @@ -253,7 +253,7 @@ const .float reloading_time = reload_time; { \ bool commit = false; \ int i = 0; - #define _W_NET(class, fld, T, wepname) \ + #define _W_NET(class, fld, T, wepname) \ { \ ++i; \ T it = this.wepvar_##fld; \ @@ -263,9 +263,7 @@ const .float reloading_time = reload_time; WriteByte(chan, i); Write_##T(chan, it); \ } \ } - #define W_NET_END() \ - if (commit) WriteByte(chan, 0); \ - } + #define W_NET_END() if (commit) WriteByte(chan, 0); } #else #define W_NET_BEGIN(class) #define _W_NET(class, fld, T, wepname)