From b937a6aa2778f27f734c7eca3218ce4924697e65 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sat, 14 Jan 2012 13:53:08 +0200 Subject: [PATCH] Remove an unneeded execution --- qcsrc/common/util.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index 8e0868223..d55ffd73f 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -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); -- 2.39.2