From e85d0db77129be6162969a75a4026187c1d25cf2 Mon Sep 17 00:00:00 2001 From: Koncord Date: Fri, 16 Feb 2018 12:17:29 +0800 Subject: [PATCH] [Server] Code style --- apps/openmw-mp/GUI.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/openmw-mp/GUI.cpp b/apps/openmw-mp/GUI.cpp index 964b3c07b..a5ea4842e 100644 --- a/apps/openmw-mp/GUI.cpp +++ b/apps/openmw-mp/GUI.cpp @@ -114,9 +114,11 @@ void GUI::onGUIAction() auto mbox = std::move(guiQueue.front().first); auto callback = std::move(guiQueue.front().second); guiQueue.pop(); - if(!guiQueue.empty()) + + if (!guiQueue.empty()) setChanged(); - if(player->guiMessageBox.id != mbox.id) + + if (player->guiMessageBox.id != mbox.id) { LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "Wrong MessageBox id from %s(%d).", player->npc.mName, player->getId()); return;