SWY1985 / CivOne

An open source implementation of Sid Meier's Civilization.
http://www.civone.org/
Creative Commons Zero v1.0 Universal
244 stars 49 forks source link

Railroaded Hill and Mountain tiles with railroad stop movement from railroad tile when unit has low movement points #366

Closed AlexFolland closed 7 years ago

AlexFolland commented 7 years ago

My unit had "0.2" movement points left and was standing on a railroaded Hills tile. I attempted to move onto an adjacent railroaded Hills tile, which should not cost movement points, but my unit lost its turn.

AlexFolland commented 7 years ago

I just tried to reproduce it and found that it doesn't always happen. I don't know what causes it.

AlexFolland commented 7 years ago

Wow, I just reproduced it with a Settlers unit, but then did the exact same thing with another Settlers unit the next turn and didn't reproduce it that time. Bizarre.

AlexFolland commented 7 years ago

Okay, I can reproduce it by walking from a road tile to a railroaded mountain tile, getting "0.2" movement points, then moving back and forth between 2 railroaded mountain tiles. At a seemingly random point, the movement will be stopped.

SWY1985 commented 7 years ago

I think the terrain penalty is somehow involved when it shouldn't be. There's a random factor in that...