Fix some inconsistent indentation
authorterencehill <piuntn@gmail.com>
Sun, 12 May 2019 01:33:45 +0000 (03:33 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 12 May 2019 01:33:45 +0000 (03:33 +0200)
qcsrc/common/weapons/all.qh

index 42805b3..b9cc4ad 100644 (file)
@@ -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)