From 2c77d5f498d3d8fd5c2a942056be1246e8a86397 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 19 Apr 2018 20:42:27 +0300 Subject: [PATCH] [General] Set enforcedLogLevel to -1 when initializing BasePlayer --- apps/openmw/mwmp/LocalPlayer.cpp | 1 - components/openmw-mp/Base/BasePlayer.hpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index c086b6b57..6b95cc715 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -49,7 +49,6 @@ LocalPlayer::LocalPlayer() charGenState.isFinished = false; difficulty = 0; - enforcedLogLevel = -1; physicsFramerate = 60.0; consoleAllowed = false; bedRestAllowed = true; diff --git a/components/openmw-mp/Base/BasePlayer.hpp b/components/openmw-mp/Base/BasePlayer.hpp index 2b4bf75b2..bc11fcc82 100644 --- a/components/openmw-mp/Base/BasePlayer.hpp +++ b/components/openmw-mp/Base/BasePlayer.hpp @@ -242,8 +242,10 @@ namespace mwmp inventoryChanges.count = 0; spellbookChanges.action = 0; spellbookChanges.count = 0; + displayCreatureName = false; resetStats = false; + enforcedLogLevel = -1; } BasePlayer()