mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 20:15:33 +00:00
[Client] Set DedicatedPlayer's anim flags when its Ptr is enabled
This commit is contained in:
parent
b1ce90076e
commit
5d7ca14e7e
1 changed files with 3 additions and 2 deletions
|
@ -395,9 +395,10 @@ void DedicatedPlayer::setCell()
|
||||||
else
|
else
|
||||||
world->enable(getPtr());
|
world->enable(getPtr());
|
||||||
|
|
||||||
// Make sure the Ptr's dynamic stats are up-to-date, so it doesn't show up knocked down when
|
// Make sure the Ptr's dynamic stats and anim flags are up-to-date, so it doesn't show up
|
||||||
// it shouldn't
|
// knocked down or in a jump loop when it shouldn't
|
||||||
setStatsDynamic();
|
setStatsDynamic();
|
||||||
|
setAnimFlags();
|
||||||
|
|
||||||
// Allow this player's reference to move across a cell now that a manual cell
|
// Allow this player's reference to move across a cell now that a manual cell
|
||||||
// update has been called
|
// update has been called
|
||||||
|
|
Loading…
Reference in a new issue