|
@@ -596,7 +596,7 @@ void CPathfinder::initializePatrol()
|
|
if(hero->patrol.patrolRadious)
|
|
if(hero->patrol.patrolRadious)
|
|
{
|
|
{
|
|
state = PATROL_RADIUS;
|
|
state = PATROL_RADIUS;
|
|
- gs->getTilesInRange(patrolTiles, hero->patrol.initialPos, hero->patrol.patrolRadious, hero->tempOwner, 0, true);
|
|
|
|
|
|
+ gs->getTilesInRange(patrolTiles, hero->patrol.initialPos, hero->patrol.patrolRadious, boost::optional<PlayerColor>(), 0, true);
|
|
}
|
|
}
|
|
else
|
|
else
|
|
state = PATROL_LOCKED;
|
|
state = PATROL_LOCKED;
|