mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 22:00:24 +07:00
Allow passable natural wonders (#7550)
This commit is contained in:

committed by
GitHub

parent
8331b87f64
commit
64e79ffa0d
@ -666,7 +666,6 @@ class UnitMovementAlgorithms(val unit: MapUnit) {
|
|||||||
if (tile.isOcean && !unit.civInfo.tech.allUnitsCanEnterOcean) { // Apparently all Polynesian naval units can enter oceans
|
if (tile.isOcean && !unit.civInfo.tech.allUnitsCanEnterOcean) { // Apparently all Polynesian naval units can enter oceans
|
||||||
if (!unitSpecificAllowOcean && unit.cannotEnterOceanTiles) return false
|
if (!unitSpecificAllowOcean && unit.cannotEnterOceanTiles) return false
|
||||||
}
|
}
|
||||||
if (tile.naturalWonder != null) return false
|
|
||||||
|
|
||||||
if (!unit.canEnterForeignTerrain && !tile.canCivPassThrough(unit.civInfo)) return false
|
if (!unit.canEnterForeignTerrain && !tile.canCivPassThrough(unit.civInfo)) return false
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user