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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user