1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

- AI will now wander with all the heroes that have spare movement points. It should prevent stalling.

- Fixed #1030
This commit is contained in:
DjWarmonger
2012-07-19 16:29:29 +00:00
parent d8cb3a34d3
commit 4c0537c420
2 changed files with 11 additions and 6 deletions

View File

@ -3530,7 +3530,7 @@ void CGVisitableOPW::newTurn() const
}
bool CGVisitableOPW::wasVisited(ui8 player) const
{
return !visited; //TODO: other players should see object as unvisited
return visited; //TODO: other players should see object as unvisited
}
void CGVisitableOPW::onHeroVisit( const CGHeroInstance * h ) const