mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-09 20:29:50 +07:00
Resolved #2985 - fixed Embark/Disembark costs
This commit is contained in:
parent
5c0eaa18dd
commit
7a7fb57f56
@ -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 New Issue
Block a user