1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 23:30:06 +00:00

Allow interactive parallax layer elements

This commit is contained in:
fgenesis 2015-01-14 21:48:37 +01:00
parent ba9c37f704
commit 4b32c4364f

View file

@ -5920,11 +5920,11 @@ void Game::rebuildElementUpdateList()
{ {
elementUpdateList.push_back(e); elementUpdateList.push_back(e);
} }
ElementEffect ee = dsq->getElementEffectByIndex(e->getElementEffectIndex()); }
if(ee.type == EFX_WAVY) ElementEffect ee = dsq->getElementEffectByIndex(e->getElementEffectIndex());
{ if(ee.type == EFX_WAVY)
elementInteractionList.push_back(e); {
} elementInteractionList.push_back(e);
} }
} }
} }