1
0
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:
Michał W. Urbańczyk
2012-06-09 16:45:45 +00:00
parent 5dff7d64f6
commit f378e5be31
4 changed files with 31 additions and 27 deletions

View File

@ -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())