jsettlers / settlers-remake

A Remake of "The Settlers III" for Windows, Linux, Mac and Android
http://www.settlers-android-clone.com
MIT License
354 stars 100 forks source link

AI (Military): AI tries go through water to reach castle on the other coast. #758

Open PaweX opened 5 years ago

PaweX commented 5 years ago

1-ai-tries_through_water

Green soldiers try to reach the castles of the yellow player. They try go through water instead of going on the land - just a bit around. When I select them manually, they will go there (if I press on the land not water), but the AI turns them back.

It happens also when the soldiers are on the other side, they come back.

To me there is an issue about some point being set on the water instead on the land. Then the point/position of the action should be checked if it is placed on the same area as the castle (the same coast).

Tested on map: "400-5-400_2_close" OS: Windows 7 Version of JSettlers: c3add121

PaweX commented 5 years ago

Seems to work fine in the b51b35a5 version. But I will test a bit more. Unless somebody will confirm that this issue has been fixed.