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:
commit
f79492e5b0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user