* Creatures now guard surrounding tiles.

This commit is contained in:
OnionKnight
2010-05-06 12:13:31 +00:00
parent a0d72590d3
commit cc616616c1
9 changed files with 130 additions and 25 deletions
+5
View File
@@ -188,6 +188,11 @@ bool CCallback::getTownInfo( const CGObjectInstance *town, InfoAboutTown &dest )
return true;
}
int3 CCallback::guardingCreaturePosition (int3 pos) const
{
return gs->guardingCreaturePosition(pos);
}
int CCallback::howManyHeroes(bool includeGarrisoned) const
{
boost::shared_lock<boost::shared_mutex> lock(*gs->mx);