mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
A few upgrades and bugfixes in battles
This commit is contained in:
@ -1900,7 +1900,7 @@ void CPlayerInterface::actionFinished(Action action)//occurs AFTER every action
|
||||
void CPlayerInterface::activeStack(int stackID) //called when it's turn of that stack
|
||||
{
|
||||
unsigned char showCount = 0;
|
||||
((CBattleInterface*)curint)->stackActivated(stackID);
|
||||
dynamic_cast<CBattleInterface*>(curint)->stackActivated(stackID);
|
||||
while(true)
|
||||
{
|
||||
++showCount;
|
||||
|
Reference in New Issue
Block a user