1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

* partially reverted r861 - one of those lines is actually useful

* fixed bug with defending / waiting while no stack is active
This commit is contained in:
mateuszb
2009-05-12 17:30:32 +00:00
parent 51216c224d
commit cc053e4dc2
2 changed files with 5 additions and 2 deletions

View File

@@ -1028,12 +1028,14 @@ void CBattleInterface::bSpellf()
void CBattleInterface::bWaitf()
{
giveCommand(8,0,activeStack);
if(activeStack != -1)
giveCommand(8,0,activeStack);
}
void CBattleInterface::bDefencef()
{
giveCommand(3,0,activeStack);
if(activeStack != -1)
giveCommand(3,0,activeStack);
}
void CBattleInterface::bConsoleUpf()