astral fix i think?
This commit is contained in:
1 parent
72ad4e61b5
commit
81ef3bd060
1 file changed
+2
-2
@@ -129,10 +129,10 @@ namespace CalamityMod.World
|
||||
int xLimit = Main.maxTilesX / 2;
|
||||
|
||||
//limit the astral biome so it cant place past the dungeon
|
||||
int x = Abyss.AtLeftSideOfWorld ? rand.Next(WorldGen.dungeonX + 150, xLimit) : rand.Next(xLimit, WorldGen.dungeonX - 150);
|
||||
int x = Abyss.AtLeftSideOfWorld ? rand.Next(650, xLimit) : rand.Next(xLimit, 650);
|
||||
while ((float)x > (float)Main.spawnTileX - worldEdgeMargin && (float)x < (float)Main.spawnTileX + worldEdgeMargin)
|
||||
{
|
||||
x = Abyss.AtLeftSideOfWorld ? rand.Next(WorldGen.dungeonX + 150, xLimit) : rand.Next(xLimit, WorldGen.dungeonX - 150);
|
||||
x = Abyss.AtLeftSideOfWorld ? rand.Next(650, xLimit) : rand.Next(xLimit, Main.maxTilesX - 650);
|
||||
}
|
||||
//world surface = 920 large 740 medium 560 small
|
||||
int y = (int)(Main.worldSurface * 0.5); //Large = 522, Medium = 444, Small = 336
|
||||
|
||||
Reference in new issue
Block a user