|
|
@ -114,8 +114,10 @@ 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());
|
|
|
|