forked from teamnwah/openmw-tes3coop
[Server] Code style
This commit is contained in:
parent
44c549211e
commit
e85d0db771
1 changed files with 4 additions and 2 deletions
|
@ -114,9 +114,11 @@ void GUI::onGUIAction()
|
||||||
auto mbox = std::move(guiQueue.front().first);
|
auto mbox = std::move(guiQueue.front().first);
|
||||||
auto callback = std::move(guiQueue.front().second);
|
auto callback = std::move(guiQueue.front().second);
|
||||||
guiQueue.pop();
|
guiQueue.pop();
|
||||||
if(!guiQueue.empty())
|
|
||||||
|
if (!guiQueue.empty())
|
||||||
setChanged();
|
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());
|
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "Wrong MessageBox id from %s(%d).", player->npc.mName, player->getId());
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue