]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an unneeded execution
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 14 Jan 2012 11:53:08 +0000 (13:53 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 14 Jan 2012 11:53:08 +0000 (13:53 +0200)
qcsrc/common/util.qh

index 8e086822303698a54b3d13d55a11f09ea3ad6127..d55ffd73fa96fcf006656211e0366dbb6e390a91 100644 (file)
@@ -295,7 +295,7 @@ void Shutdown();
 // gets the total number of tags on model v
 #define TOTAL_TAGS(v) skel_get_numbones(skel_create(v.modelindex)); skel_delete(v.modelindex)
 // loops through the tags of model v using counter tagnum
-#define FOR_EACH_TAG(v) float tagnum, totaltags; totaltags = TOTAL_TAGS(v); for(tagnum = 0, gettaginfo(v, tagnum); tagnum < totaltags; tagnum++, gettaginfo(v, tagnum))
+#define FOR_EACH_TAG(v) float tagnum, totaltags; totaltags = TOTAL_TAGS(v); for(tagnum = 0; tagnum < totaltags; tagnum++, gettaginfo(v, tagnum))
 #endif
 #ifdef SVQC
 void WriteApproxPastTime(float dst, float t);