1
0
Fork 0
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:
fgenesis 2013-06-24 02:54:57 +02:00
parent 93abd03c27
commit aba216d1dd

View file

@ -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)