]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
maybe this'll end up formatted less badly martin-t/uncrustify
authorMartin Taibr <taibr.martin@gmail.com>
Mon, 19 Feb 2018 12:15:52 +0000 (13:15 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Mon, 19 Feb 2018 12:15:52 +0000 (13:15 +0100)
qcsrc/common/debug.qh

index df3f80857457a84fd7457a76394547572e2ceeed..3922ff034ad0e1918e48809705c587cf5a117828 100644 (file)
@@ -69,6 +69,7 @@ bool autocvar_debugdraw;
                static int debugdraw_frame;
                ++debugdraw_frame;
                const int sz = 8;
+               // *INDENT-OFF* too dumb to tell appart indentation and alignemnt inside macros
                FOREACH_ENTITY(true, {
                        if (it.debugdraw_last == debugdraw_frame) continue;
                        int ofs = 0;
@@ -93,7 +94,6 @@ bool autocvar_debugdraw;
                                {
                                        bool flag = true;
                                        do {
-                                               // *INDENT-OFF* too dumb to tell appart indentation and alignemnt inside macros
                                                //if (it.modelindex) break;
                                                //if (it.absmin) break;
                                                //if (it.absmax) break;
@@ -126,7 +126,6 @@ bool autocvar_debugdraw;
                                                //if (it.flags) break;
                                                //if (it.colormap) break;
                                                //if (it.owner) break;
-                                               // *INDENT-ON*
                                                flag = false;
                                        } while (0);
                                        if (!flag) continue;
@@ -148,8 +147,9 @@ bool autocvar_debugdraw;
                                        it.classname, it.sourceLoc),
                                        sz * '1 1 0', rgb, 0.5, DRAWFLAG_NORMAL);
                                ++ofs;
-            });
+                       });
                });
+               // *INDENT-ON*
        }
 #endif