mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
MSVC compile fix #997.
CClickableHex apparently can't be held by value in vector anymore.
This commit is contained in:
@ -970,7 +970,7 @@ bool CSpellEffectAnimation::init()
|
||||
if(effect == -1 || graphics->battleACToDef[effect].size() != 0)
|
||||
{
|
||||
const CStack* destStack = owner->curInt->cb->battleGetStackByPos(destTile, false);
|
||||
Rect &tilePos = owner->bfield[destTile].pos;
|
||||
Rect &tilePos = owner->bfield[destTile]->pos;
|
||||
BattleEffect be;
|
||||
be.effectID = ID;
|
||||
if(customAnim.size())
|
||||
|
Reference in New Issue
Block a user