mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
* much better callback function declaration (previous version inspired me to write a new coding guideline)
This commit is contained in:
@ -1889,7 +1889,7 @@ void CGameState::calculatePaths(const CGHeroInstance *hero, CPathsInfo &out, int
|
||||
* @return int3(-1, -1, -1) if the tile is unguarded, or the position of
|
||||
* the monster guarding the tile.
|
||||
*/
|
||||
const std::vector<CGObjectInstance*> CGameState::guardingCreatures (int3 pos) const
|
||||
std::vector<CGObjectInstance*> CGameState::guardingCreatures (int3 pos) const
|
||||
{
|
||||
std::vector<CGObjectInstance*> guards;
|
||||
const int3 originalPos = pos;
|
||||
|
Reference in New Issue
Block a user