mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
Fix Armaggeddon visual effect
This commit is contained in:
parent
3c037ed620
commit
a06d7ec80e
@ -1045,7 +1045,7 @@ bool CPointEffectAnimation::init()
|
|||||||
{
|
{
|
||||||
for(int i=0; i * first->width() < owner->pos.w ; ++i)
|
for(int i=0; i * first->width() < owner->pos.w ; ++i)
|
||||||
for(int j=0; j * first->height() < owner->pos.h ; ++j)
|
for(int j=0; j * first->height() < owner->pos.h ; ++j)
|
||||||
positions.push_back(Point(i * first->width(), j * first->height()));
|
positions.push_back(Point( owner->pos.x + i * first->width(), owner->pos.y + j * first->height()));
|
||||||
}
|
}
|
||||||
|
|
||||||
BattleEffect be;
|
BattleEffect be;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user