diff --git a/core/src/com/unciv/ui/tilegroups/WorldTileGroup.kt b/core/src/com/unciv/ui/tilegroups/WorldTileGroup.kt index 1c6760913e..866773966c 100644 --- a/core/src/com/unciv/ui/tilegroups/WorldTileGroup.kt +++ b/core/src/com/unciv/ui/tilegroups/WorldTileGroup.kt @@ -18,12 +18,13 @@ import com.unciv.ui.utils.center class WorldTileGroup(tileInfo: TileInfo) : TileGroup(tileInfo) { var cityButton: Table? = null - fun addWhiteCircleAroundUnit(){ - val whiteCircle = ImageGetter.getImage("UnitIcons/Circle.png") - whiteCircle.setSize(25f,25f) - whiteCircle.center(unitImage!!) - unitImage!!.addActor(whiteCircle) - whiteCircle.toBack() + fun addWhiteHaloAroundUnit(){ + val whiteHalo = if(tileInfo.unit!!.isFortified()) ImageGetter.getImage("UnitIcons/Shield.png") + else ImageGetter.getImage("UnitIcons/Circle.png") + whiteHalo.setSize(25f,25f) + whiteHalo.center(unitImage!!) + unitImage!!.addActor(whiteHalo) + whiteHalo.toBack() } diff --git a/core/src/com/unciv/ui/worldscreen/TileMapHolder.kt b/core/src/com/unciv/ui/worldscreen/TileMapHolder.kt index 885a1b5e34..a98e0e1dcb 100644 --- a/core/src/com/unciv/ui/worldscreen/TileMapHolder.kt +++ b/core/src/com/unciv/ui/worldscreen/TileMapHolder.kt @@ -100,7 +100,7 @@ class TileMapHolder(internal val worldScreen: WorldScreen, internal val tileMap: if(worldScreen.bottomBar.unitTable.selectedUnit!=null){ val unit = worldScreen.bottomBar.unitTable.selectedUnit!! - tileGroups[unit.getTile()]!!.addWhiteCircleAroundUnit() + tileGroups[unit.getTile()]!!.addWhiteHaloAroundUnit() val attackableTiles:List when(unit.getBaseUnit().unitType){ UnitType.Civilian -> return