1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00

small visual fix for particle collision on the water line

The water line is no longer offset by some pixels but goes exactly
where Game::waterLevel.x says it should. This compensates the change
in b8dee723a2 to look as it used to.
This commit is contained in:
fgenesis 2024-05-12 18:03:38 +02:00
parent bcffbac2b5
commit 8b73101f42

View file

@ -2354,7 +2354,7 @@ void Game::updateParticlePause()
int game_collideParticle(Vector pos)
{
bool aboveWaterLine = (pos.y <= game->waterLevel.x+20);
bool aboveWaterLine = (pos.y <= game->waterLevel.x+10);
bool inWaterBubble = false;
if (!aboveWaterLine)
{