forked from jaildesigner-jailgames/jaildoctors_dilemma
Resuelto bug al cambiar de paleta con los tiles animados
This commit is contained in:
@@ -375,7 +375,7 @@ void Player::move()
|
||||
}
|
||||
|
||||
// Si está bajando la rampa, recoloca al jugador
|
||||
if (isOnDownSlope())
|
||||
if (isOnDownSlope() && state != s_jumping)
|
||||
{
|
||||
y += 1;
|
||||
}
|
||||
@@ -418,7 +418,7 @@ void Player::move()
|
||||
}
|
||||
|
||||
// Si está bajando la rampa, recoloca al jugador
|
||||
if (isOnDownSlope())
|
||||
if (isOnDownSlope() && state != s_jumping)
|
||||
{
|
||||
y += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user