mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-14 10:12:59 +02:00
94e5b5519c
Due to morale-considerations the AI sometimes calculated that their strongest army after doing an exchange had slightly lower total value than the army they used before. But by using unsigned "slightly lower" became near infinite. So they constantly wanted to upgrade their army because they considered it more useful than anything else. Changing the unsigned into signed fixes this. |
||
---|---|---|
.. | ||
ArmyManager.cpp | ||
ArmyManager.h | ||
BuildAnalyzer.cpp | ||
BuildAnalyzer.h | ||
DangerHitMapAnalyzer.cpp | ||
DangerHitMapAnalyzer.h | ||
HeroManager.cpp | ||
HeroManager.h | ||
ObjectClusterizer.cpp | ||
ObjectClusterizer.h |