1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00

- fixed some extra warnings. Mostly harmless.

NOTE: Please check changes in BattleState.cpp and GameHandler.cpp for possible bugs
This commit is contained in:
Ivan Savenko
2012-05-28 19:29:32 +00:00
parent 61ccabde53
commit faaf799d95
18 changed files with 24 additions and 24 deletions

View File

@ -3064,7 +3064,7 @@ const CGHeroInstance * CStack::getMyHero() const
else //we are attached directly?
BOOST_FOREACH(const CBonusSystemNode *n, getParentNodes())
if(n->getNodeType() == HERO)
dynamic_cast<const CGHeroInstance *>(n);
dynamic_cast<const CGHeroInstance *>(n);//FIXME: unused result. Missing return?
return NULL;
}