mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-25 10:26:05 +07:00
1fd65b9ffa
* Initial attempt * Allow Ranged to move into unguarded Civilian Unit * Comment for clarity * Fix unit test so that it doesn't segfault and checks you can't move into military units * Unify that all units can move on to (and through) unguarded civilians that you are at war with Add TileInfo.getUnguardedCivilian() to quickly respond if there is an unguarded Civilian on the tile Something is bugged in movement code * Fix MapUnit.moveThroughTile() so that it doesn't segfault by fixing getUnguardedCivilian() * captureCivilianUnit() call is now redundant in postBattleMoveToAttackedTile() since canMoveTo() will now return true and capture will happen during the moveToTile() call Co-authored-by: temurakami <spellman23@gmail.com> |
||
---|---|---|
.. | ||
src/com/unciv | ||
build.gradle.kts |