Optimizaciones de código
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user