diff options
Diffstat (limited to 'src/gui/windows/npcpostdialog.cpp')
-rw-r--r-- | src/gui/windows/npcpostdialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp index 7bca90500..b037c718e 100644 --- a/src/gui/windows/npcpostdialog.cpp +++ b/src/gui/windows/npcpostdialog.cpp @@ -119,8 +119,9 @@ void NpcPostDialog::action(const ActionEvent &event) } else { - Net::getNpcHandler()->sendLetter(mNpcId, mSender->getText(), - mText->getText()); + npcHandler->sendLetter(mNpcId, + mSender->getText(), + mText->getText()); } setVisible(false); } |