From 6c159333dd1a64ad859f8c72c0f0c2c53491aa3b Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Mon, 30 Jul 2012 22:45:45 -0300 Subject: [PATCH] Fix displaying npc messages in screen center --- modules/game_console/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/game_console/console.lua b/modules/game_console/console.lua index de1c9ef4..079ec9c4 100644 --- a/modules/game_console/console.lua +++ b/modules/game_console/console.lua @@ -472,7 +472,7 @@ function onTalk(name, level, mode, message, channelId, creaturePos) if speaktype.private then addPrivateText(composedMessage, speaktype, name, false, name) - if Options.getOption('showPrivateMessagesOnScreen') and speaktype.speakType ~= SpeakPrivateNpcToPlayer then + if Options.getOption('showPrivateMessagesOnScreen') and speaktype ~= SpeakTypesSettings.privateNpcToPlayer then modules.game_textmessage.displayPrivateMessage(name .. ':\n' .. message) end else