1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00

[Client] Set DedicatedPlayer's anim flags when its Ptr is enabled

This commit is contained in:
David Cernat 2020-11-23 16:27:41 +02:00
parent b1ce90076e
commit 5d7ca14e7e

View file

@ -395,9 +395,10 @@ void DedicatedPlayer::setCell()
else
world->enable(getPtr());
// Make sure the Ptr's dynamic stats are up-to-date, so it doesn't show up knocked down when
// it shouldn't
// Make sure the Ptr's dynamic stats and anim flags are up-to-date, so it doesn't show up
// knocked down or in a jump loop when it shouldn't
setStatsDynamic();
setAnimFlags();
// Allow this player's reference to move across a cell now that a manual cell
// update has been called