mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Some work towards Eagle Eye skill support.
This commit is contained in:
@ -973,7 +973,13 @@ DLL_EXPORT void StartAction::applyGs( CGameState *gs )
|
||||
CStack *st = gs->curB->getStack(ba.stackNumber);
|
||||
|
||||
if(ba.actionType != BattleAction::HERO_SPELL) //don't check for stack if it's custom action by hero
|
||||
{
|
||||
assert(st);
|
||||
}
|
||||
else
|
||||
{
|
||||
gs->curB->usedSpellsHistory[ba.side].push_back(VLC->spellh->spells[ba.additionalInfo]);
|
||||
}
|
||||
|
||||
switch(ba.actionType)
|
||||
{
|
||||
|
Reference in New Issue
Block a user