1
0
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:
Ivan Savenko 2022-12-06 14:29:31 +02:00
parent 3c037ed620
commit a06d7ec80e

View File

@ -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;