]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 42805b3a082a64ff988dea1c37497ecc399dc6fe..b9cc4ada75a50ad37211b7add52816d93f8d1de4 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)