mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Moved all GUI handling from BattleInterface to BattleControlPanel
This commit is contained in:
@@ -982,9 +982,9 @@ bool PointEffectAnimation::init()
|
||||
|
||||
if (screenFill())
|
||||
{
|
||||
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( owner.pos.x + i * first->width(), owner.pos.y + j * first->height()));
|
||||
for(int i=0; i * first->width() < owner.fieldController->pos.w ; ++i)
|
||||
for(int j=0; j * first->height() < owner.fieldController->pos.h ; ++j)
|
||||
positions.push_back(Point( owner.fieldController->pos.x + i * first->width(), owner.fieldController->pos.y + j * first->height()));
|
||||
}
|
||||
|
||||
BattleEffect be;
|
||||
|
||||
Reference in New Issue
Block a user