]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix warnings
authorRudolf Polzer <divverent@xonotic.org>
Tue, 20 Aug 2013 11:23:44 +0000 (13:23 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 20 Aug 2013 11:23:44 +0000 (13:23 +0200)
qcsrc/server/g_world.qc

index 54743674738d837a0c94f082a2e850151cdcaaaf..ab6e9256790fc6bf2359abbf86243795f88db0a2 100644 (file)
@@ -1177,7 +1177,6 @@ float(float exponent) MaplistMethod_Shuffle = // more clever shuffling
 void Maplist_Init()
 {
        Map_Count = tokenizebyseparator(autocvar_g_maplist, " ");
-       float working = 0;
        float i;
        for (i = 0; i < Map_Count; ++i)
                if (Map_Check(i, 2))
@@ -1289,7 +1288,6 @@ void GotoNextMap(float reinit)
        alreadychangedlevel = TRUE;
 
        string nextMap;
-       float allowReset;
 
        nextMap = GetNextMap();
        if(nextMap == "")