Minor fix from last commit.

This commit is contained in:
BeniS 2012-07-08 02:44:53 +12:00
parent 4453242bee
commit 69cc53d7f3
2 changed files with 10 additions and 10 deletions

View File

@ -94,7 +94,7 @@ local function onCreatureSpeak(name, level, speaktype, message, channelId, creat
if speaktype.private then
Console.addPrivateText(composedMessage, speaktype, name, false, name)
if Options.getOption('showPrivateMessagesOnScreen') then
if(speakType.speakType ~= privateNpcToPlayer) then
if(speaktype.speakType ~= SpeakPrivateNpcToPlayer) then
TextMessage.displayPrivate(name .. ':\n' .. message)
end
end