SteamWar/FightSystem
Archiviert
13
1

Hotfix Chunk Ausfahrbereich

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-01-15 16:22:54 +01:00
Ursprung 17132bfb50
Commit aa706acc76

Datei anzeigen

@ -55,7 +55,7 @@ public class ITechHider {
private static final int redMaxZ; private static final int redMaxZ;
static{ static{
int areaExtension = Config.EnterStages.isEmpty() ? Config.BorderFromSchematic : 0; int areaExtension = Config.EnterStages.isEmpty() ? (int) Math.ceil(Config.BorderFromSchematic / 16.0f) : 0;
blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX) - areaExtension; blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX) - areaExtension;
blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX) + 1 + areaExtension; blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX) + 1 + areaExtension;
blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ) - areaExtension; blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ) - areaExtension;