mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +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 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user