1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Merge pull request #2755 from wb180/fixNKAICompilation

Fix NKAI compilation with NKAI_PATHFINDER_TRACE_LEVEL>=2
This commit is contained in:
Ivan Savenko 2023-09-04 15:29:44 +03:00 committed by GitHub
commit f79492e5b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1208,7 +1208,7 @@ bool AINodeStorage::hasBetterChain(
"Block ineficient battle move %s->%s, hero: %s[%X], army %lld, mp diff: %i", "Block ineficient battle move %s->%s, hero: %s[%X], army %lld, mp diff: %i",
source->coord.toString(), source->coord.toString(),
candidateNode->coord.toString(), candidateNode->coord.toString(),
candidateNode->actor->hero->name, candidateNode->actor->hero->getNameTranslated(),
candidateNode->actor->chainMask, candidateNode->actor->chainMask,
candidateNode->actor->armyValue, candidateNode->actor->armyValue,
node.moveRemains - candidateNode->moveRemains); node.moveRemains - candidateNode->moveRemains);
@ -1232,7 +1232,7 @@ bool AINodeStorage::hasBetterChain(
"Block ineficient move because of stronger army %s->%s, hero: %s[%X], army %lld, mp diff: %i", "Block ineficient move because of stronger army %s->%s, hero: %s[%X], army %lld, mp diff: %i",
source->coord.toString(), source->coord.toString(),
candidateNode->coord.toString(), candidateNode->coord.toString(),
candidateNode->actor->hero->name, candidateNode->actor->hero->getNameTranslated(),
candidateNode->actor->chainMask, candidateNode->actor->chainMask,
candidateNode->actor->armyValue, candidateNode->actor->armyValue,
node.moveRemains - candidateNode->moveRemains); node.moveRemains - candidateNode->moveRemains);
@ -1258,7 +1258,7 @@ bool AINodeStorage::hasBetterChain(
"Block ineficient move because of stronger hero %s->%s, hero: %s[%X], army %lld, mp diff: %i", "Block ineficient move because of stronger hero %s->%s, hero: %s[%X], army %lld, mp diff: %i",
source->coord.toString(), source->coord.toString(),
candidateNode->coord.toString(), candidateNode->coord.toString(),
candidateNode->actor->hero->name, candidateNode->actor->hero->getNameTranslated(),
candidateNode->actor->chainMask, candidateNode->actor->chainMask,
candidateNode->actor->armyValue, candidateNode->actor->armyValue,
node.moveRemains - candidateNode->moveRemains); node.moveRemains - candidateNode->moveRemains);