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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user