mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-06-09 01:52:02 +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)
|
void Avatar::updateRoll(float dt)
|
||||||
{
|
{
|
||||||
if (!inputEnabled || dsq->game->isWorldPaused())
|
if (!inputEnabled || dsq->game->isWorldPaused() || riding)
|
||||||
{
|
{
|
||||||
if (rolling)
|
if (rolling)
|
||||||
stopRoll();
|
stopRoll();
|
||||||
|
|
Loading…
Add table
Reference in a new issue