From fedb334fa4945ac62a726eb3bfdcfbe11b84c4ab Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Mon, 19 Feb 2018 13:15:52 +0100 Subject: [PATCH] maybe this'll end up formatted less badly --- qcsrc/common/debug.qh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index df3f80857..3922ff034 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -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 -- 2.39.2