Whoops, num4 was already defined :D

This commit is contained in:
Zack 2012-01-13 12:53:13 -05:00
parent 4fa3ff77a2
commit 7ab577282e

View file

@ -1055,7 +1055,6 @@ namespace TShockAPI
num6 = (Main.rockLayer + Main.rockLayer + (double)Main.maxTilesY) / 3.0;
}
int j2 = WorldGen.genRand.Next((int)num6, Main.maxTilesY - 150);
int num4 = WorldGen.genRand.Next(0, 2 ) - 1;
WorldGen.OreRunner(i2, j2, (double)WorldGen.genRand.Next(5, 9 + num4), WorldGen.genRand.Next(5, 9 + num4), num);
num5++;
}