mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Implemented support for multi-spell casters
This commit is contained in:
@@ -840,7 +840,7 @@ std::vector<const CStack *> BattleStacksController::selectHoveredStacks()
|
||||
const CSpell *spell = nullptr;
|
||||
|
||||
spells::Mode mode = owner.actionsController->getCurrentCastMode();
|
||||
spell = owner.actionsController->getCurrentSpell();
|
||||
spell = owner.actionsController->getCurrentSpell(hoveredHex);
|
||||
caster = owner.actionsController->getCurrentSpellcaster();
|
||||
|
||||
if(caster && spell && owner.actionsController->currentActionSpellcasting(hoveredHex) ) //when casting spell
|
||||
|
||||
Reference in New Issue
Block a user