Resolved #2985 - fixed Embark/Disembark costs
This commit is contained in:
parent
5c0eaa18dd
commit
7a7fb57f56
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class UnitMovementAlgorithms(val unit:MapUnit) {
|
|||
fun getMovementCostBetweenAdjacentTiles(from: TileInfo, to: TileInfo, civInfo: CivilizationInfo): Float {
|
||||
|
||||
if ((from.isLand != to.isLand) && unit.type.isLandUnit() &&
|
||||
(unit.civInfo.nation.embarkDisembarkCosts1))
|
||||
!unit.civInfo.nation.embarkDisembarkCosts1)
|
||||
return 100f // this is embarkment or disembarkment, and will take the entire turn
|
||||
|
||||
var extraCost = 0f
|
||||
|
|
Loading…
Reference in a new issue