forked from mirror/openmw-tes3mp
[Client] Reset positionTimer on time expired
This commit is contained in:
parent
7e5e877fda
commit
80631ae8bd
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ void LocalPlayer::updatePosition(bool forceUpdate)
|
|||
|
||||
if (forceUpdate || (positionTimer += MWBase::Environment::get().getFrameDuration()) >= timeoutSec)
|
||||
{
|
||||
positionTimer = 0;
|
||||
MWBase::World *world = MWBase::Environment::get().getWorld();
|
||||
MWWorld::Ptr player = world->getPlayerPtr();
|
||||
|
||||
|
|
Loading…
Reference in a new issue