mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-03 18:14:01 +00:00
Fix little problem added in 54d609a8b5
.
Respecting maxspeed lerp is not a good idea, there are nodes that set this (normalpass, energypass, just to name two). This causes way too fast swimming while the maxspeed lerp is > 1.
This commit is contained in:
parent
93abd03c27
commit
aba216d1dd
1 changed files with 1 additions and 1 deletions
|
@ -4913,7 +4913,7 @@ void Avatar::clampVelocity()
|
|||
|
||||
setMaxSpeed(currentMaxSpeed * useSpeedMult * dsq->continuity.speedMult2);
|
||||
|
||||
vel.capLength2D(getMaxSpeed() * maxSpeedLerp.x);
|
||||
vel.capLength2D(getMaxSpeed() /* * maxSpeedLerp.x*/);
|
||||
}
|
||||
|
||||
void Avatar::activateAura(AuraType aura)
|
||||
|
|
Loading…
Add table
Reference in a new issue