mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 22:19:07 +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:
parent
3fe9ffc2cd
commit
c312572ff7
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue