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:
committed by
Andrii Danylchenko
parent
3480f17a68
commit
fb3cda666f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user