mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
433c58f8b1
A recent fix made it so that towns that weren't supposed to be defended are now no longer defended. This caused scouts with minimal army to also go after them in addition to the main-hero. Problem is when two heroes go for the same town it's a massive waste of movement-points. So for the time being only main-heroes will go for faraway captures. Better solution would be to memorize who was sent to attack what on the same turn and filter out tasks going for the same target. |
||
---|---|---|
.. | ||
Analyzers | ||
Behaviors | ||
Engine | ||
Goals | ||
Helpers | ||
Markers | ||
Pathfinding | ||
AIGateway.cpp | ||
AIGateway.h | ||
AIUtility.cpp | ||
AIUtility.h | ||
CMakeLists.txt | ||
main.cpp | ||
pforeach.h | ||
StdInc.cpp | ||
StdInc.h |