mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
vcmi: do not block interface on setup spells
This commit is contained in:
parent
cb83a9371d
commit
15031d2e16
@ -335,12 +335,17 @@ void BattleInterface::battleFinished(const BattleResult& br, QueryID queryID)
|
||||
}
|
||||
|
||||
void BattleInterface::spellCast(const BattleSpellCast * sc)
|
||||
{
|
||||
// Do not deactivate anything in tactics mode
|
||||
// This is battlefield setup spells
|
||||
if(!tacticsMode)
|
||||
{
|
||||
windowObject->blockUI(true);
|
||||
|
||||
// Disable current active stack duing the cast
|
||||
// Store the current activeStack to stackToActivate
|
||||
stacksController->deactivateStack();
|
||||
}
|
||||
|
||||
CCS->curh->set(Cursor::Combat::BLOCKED);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user