mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
- Changed visibility of curInt member of BattleInterface from public to private and provided a getter method
This commit is contained in:
@ -1643,6 +1643,11 @@ int CBattleInterface::getAnimSpeed() const
|
||||
return vstd::round(settings["battle"]["animationSpeed"].Float() * 100);
|
||||
}
|
||||
|
||||
CPlayerInterface * CBattleInterface::getCurrentPlayerInterface() const
|
||||
{
|
||||
return curInt.get();
|
||||
}
|
||||
|
||||
void CBattleInterface::setActiveStack(const CStack * stack)
|
||||
{
|
||||
if (activeStack) // update UI
|
||||
|
Reference in New Issue
Block a user