Optimizaciones de código

This commit is contained in:
2022-09-24 19:16:39 +02:00
parent f3aeed9428
commit b44869341c
99 changed files with 441 additions and 509 deletions

View File

@@ -232,7 +232,7 @@ void Player::checkState()
{
vx = 0.0f;
vy = maxVY;
fallCounter++;
++fallCounter;
playFallSound();
}
@@ -249,7 +249,7 @@ void Player::checkState()
else if (state == s_jumping)
{
jumpCounter++;
++jumpCounter;
playJumpSound();
}
}