]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Shorten definition with the normally the same result
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 14 Jan 2012 10:46:21 +0000 (12:46 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 14 Jan 2012 10:46:21 +0000 (12:46 +0200)
qcsrc/common/util.qh

index 1670cf09d25410d50754decc9ead0de7161264e6..ea41788231d389cf0c0c4c28aadb7147ae330e5f 100644 (file)
@@ -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);