From 4621363b65d8a4794cab26694e1630c87a53dde6 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Mon, 31 Oct 2016 01:23:31 +0200 Subject: [PATCH] Make capitalization reflect name of filename, and remove unused check --- apps/openmw/mwmp/Main.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/openmw/mwmp/Main.cpp b/apps/openmw/mwmp/Main.cpp index 66564a890..7da65022f 100644 --- a/apps/openmw/mwmp/Main.cpp +++ b/apps/openmw/mwmp/Main.cpp @@ -60,7 +60,7 @@ std::string loadSettings (Settings::Manager & settings) Main::Main() { - LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "%s", "TES3MP started"); + LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "%s", "tes3mp started"); mNetworking = new Networking(); mLocalPlayer = new LocalPlayer(); mGUIController = new GUIController(); @@ -72,7 +72,7 @@ Main::Main() Main::~Main() { - LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "%s", "TES3MP stopped"); + LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "%s", "tes3mp stopped"); delete mNetworking; delete mLocalPlayer; Players::CleanUp(); @@ -163,10 +163,6 @@ void Main::Destroy() void Main::Frame(float dt) { const MWBase::Environment &environment = MWBase::Environment::get(); - if (environment.getWindowManager()->containsMode(MWGui::GM_MainMenu)) - { - //environment.getWindowManager()->exitCurrentGuiMode(); - } get().getNetworking()->Update();