1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 14:09:06 +00:00

Do not allow rolling when riding.

Rolling while riding does not make sense, is not handled/animated at all,
and it looks strange. I wonder why nobody has fixed this in all this time.
This commit is contained in:
fgenesis 2013-10-28 04:27:44 +01:00
parent 3fe9ffc2cd
commit c312572ff7

View file

@ -5222,7 +5222,7 @@ void Avatar::updateWallJump(float dt)
void Avatar::updateRoll(float dt)
{
if (!inputEnabled || dsq->game->isWorldPaused())
if (!inputEnabled || dsq->game->isWorldPaused() || riding)
{
if (rolling)
stopRoll();