diff --git a/buildSrc/src/main/kotlin/BuildConfig.kt b/buildSrc/src/main/kotlin/BuildConfig.kt index 4bf5e3e0df..0554399f63 100644 --- a/buildSrc/src/main/kotlin/BuildConfig.kt +++ b/buildSrc/src/main/kotlin/BuildConfig.kt @@ -3,8 +3,8 @@ package com.unciv.build object BuildConfig { const val kotlinVersion = "1.8.0" const val appName = "Unciv" - const val appCodeNumber = 850 - const val appVersion = "4.6.3" + const val appCodeNumber = 851 + const val appVersion = "4.6.3-patch1" const val gdxVersion = "1.11.0" const val roboVMVersion = "2.3.1" diff --git a/core/src/com/unciv/UncivGame.kt b/core/src/com/unciv/UncivGame.kt index 070c751aeb..15e16e5466 100644 --- a/core/src/com/unciv/UncivGame.kt +++ b/core/src/com/unciv/UncivGame.kt @@ -531,7 +531,7 @@ open class UncivGame(val isConsoleMode: Boolean = false) : Game(), PlatformSpeci companion object { //region AUTOMATICALLY GENERATED VERSION DATA - DO NOT CHANGE THIS REGION, INCLUDING THIS COMMENT - val VERSION = Version("4.6.3", 850) + val VERSION = Version("4.6.3-patch1", 851) //endregion lateinit var Current: UncivGame diff --git a/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt b/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt index 6743f89975..c902439da3 100644 --- a/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt +++ b/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt @@ -643,16 +643,16 @@ class WorldMapHolder( if (tile.aerialDistanceTo(unit.getTile()) <= unit.getRange()) { // The tile is within attack range group.layerMisc.overlayTerrain(Color.RED) - } else if (tile.isExplored(worldScreen.viewingCiv)) { + } else if (tile.isExplored(worldScreen.viewingCiv) && tile.aerialDistanceTo(unit.getTile()) <= unit.getRange()*2) { // The tile is within move range - group.layerMisc.overlayTerrain(Color.BLUE) + group.layerMisc.overlayTerrain(if (unit.movement.canMoveTo(tile)) Color.WHITE else Color.BLUE) } } // Highlight tile unit can move to if (unit.movement.canMoveTo(tile) || unit.movement.isUnknownTileWeShouldAssumeToBePassable(tile) && !unit.baseUnit.movesLikeAirUnits()) { - val alpha = if (UncivGame.Current.settings.singleTapMove || isAirUnit) 0.7f else 0.3f + val alpha = if (UncivGame.Current.settings.singleTapMove) 0.7f else 0.3f group.layerOverlay.showHighlight(moveTileOverlayColor, alpha) }