Fix displaying npc messages in screen center

This commit is contained in:
Eduardo Bart 2012-07-30 22:45:45 -03:00
parent 64760f0892
commit 6c159333dd
1 changed files with 1 additions and 1 deletions

View File

@ -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