UI now shows spell range from config
This commit is contained in:
1 parent
79f3126c63
commit
5ada2d19e1
16 files changed
+44
-40
No files matched your search
@@ -91,6 +91,16 @@ void PlayerLocalState::verifyPath(const CGHeroInstance * h)
|
||||
setPath(h, getPath(h).endPos());
|
||||
}
|
||||
|
||||
SpellID PlayerLocalState::getCurrentSpell() const
|
||||
{
|
||||
return currentSpell;
|
||||
}
|
||||
|
||||
void PlayerLocalState::setCurrentSpell(SpellID castedSpell)
|
||||
{
|
||||
currentSpell = castedSpell;
|
||||
}
|
||||
|
||||
const CGHeroInstance * PlayerLocalState::getCurrentHero() const
|
||||
{
|
||||
if(currentSelection && currentSelection->ID == Obj::HERO)
|
||||
|
||||
Reference in new issue
Block a user