1
0
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:
mateuszb
2012-11-14 21:19:32 +00:00
parent 13a5a820d0
commit 100dad889a
4 changed files with 11 additions and 6 deletions

View File

@ -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;