mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
* Creatures now guard surrounding tiles.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user