1
0
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:
mateuszb
2008-03-24 13:25:11 +00:00
parent d5a5a04811
commit 500f55cd52
5 changed files with 71 additions and 46 deletions

View File

@ -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;