From: Mircea Kitsune Date: Sat, 14 Jan 2012 10:46:21 +0000 (+0200) Subject: Shorten definition with the normally the same result X-Git-Tag: xonotic-v0.6.0~110^2^2~21 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=484af7879e534c6f21cd5e129d1dd14a44a1aced;p=xonotic%2Fxonotic-data.pk3dir.git Shorten definition with the normally the same result --- diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index 1670cf09d..ea4178823 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -293,7 +293,7 @@ void Shutdown(); #ifndef MENUQC // loops through the tags of model v using counter tagnum -#define FOR_EACH_TAG(v) float tagnum; for(tagnum = 0, gettaginfo(v, tagnum);; tagnum++, gettaginfo(v, tagnum)) if(tagnum && !gettaginfo_name) break; else +#define FOR_EACH_TAG(v) float tagnum; for(tagnum = 0;; tagnum++, gettaginfo(v, tagnum)) if(tagnum && !gettaginfo_name) break; else #endif #ifdef SVQC void WriteApproxPastTime(float dst, float t);