1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Nullkiller: tbb and hero chain calculation optimization and parallel cpathfinder initialization

This commit is contained in:
Andrii Danylchenko
2020-09-02 20:16:24 +03:00
committed by Andrii Danylchenko
parent 3480f17a68
commit fb3cda666f
14 changed files with 339 additions and 248 deletions

View File

@@ -114,7 +114,7 @@ namespace AIPathfinding
source->manaCost);
#endif
return hero->mana >= source->manaCost + getManaCost(hero);
return hero->mana >= (si32)(source->manaCost + getManaCost(hero));
}
std::string SummonBoatAction::toString() const