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:
parent
bcffbac2b5
commit
8b73101f42
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue