]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/base.qc
Declare more ints as ints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / base.qc
index e13919a23b174b5372f301b06070bfe31c0182df..71bcd9e58700f3f78b824d317ccab2902f5593c4 100644 (file)
@@ -95,7 +95,7 @@ const float MAX_MUTATORS = 15;
 string loaded_mutators[MAX_MUTATORS];
 float Mutator_Add(mutatorfunc_t func, string name)
 {
-       float i, j;
+       int i, j;
        j = -1;
        for(i = 0; i < MAX_MUTATORS; ++i)
        {
@@ -128,7 +128,7 @@ float Mutator_Add(mutatorfunc_t func, string name)
 }
 void Mutator_Remove(float(float) func, string name)
 {
-       float i;
+       int i;
        for(i = 0; i < MAX_MUTATORS; ++i)
                if(name == loaded_mutators[i])
                        break;