From 1b59ce8c8fee1f212fae9c56920b4537b51de91e Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 23 Feb 2017 06:25:46 +0200 Subject: [PATCH] [Client] Send ID_PLAYER_DRAWSTATE when teleported by server --- apps/openmw/mwmp/LocalPlayer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index ec11816c8..9db84cc52 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -790,6 +790,9 @@ void LocalPlayer::setPosition() } updatePosition(true); + + // Make sure we update our draw state, or we'll end up with the wrong one + updateDrawStateAndFlags(true); } void LocalPlayer::setCell()