mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
NKAI: fix freeze on army gathering
This commit is contained in:
committed by
Ivan Savenko
parent
d7cbe4ecde
commit
04fe78d31c
@ -323,6 +323,11 @@ void Nullkiller::makeTurn()
|
||||
}
|
||||
|
||||
executeTask(bestTask);
|
||||
|
||||
if(i == MAXPASS)
|
||||
{
|
||||
logAi->error("Goal %s exceeded maxpass. Terminating AI turn.", bestTask->toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user