diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:14:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:14:13 +0300 |
commit | dc5766216ee50103909d3b5dcdc5747c149855e0 (patch) | |
tree | db7960089152805498449c0f1b2a392d36543607 /src/gui/windows/npcpostdialog.cpp | |
parent | 85c6d5c89ca967020e1a0818c9fa80c065873cc1 (diff) | |
download | manaverse-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.gz manaverse-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.bz2 manaverse-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.xz manaverse-dc5766216ee50103909d3b5dcdc5747c149855e0.zip |
Remove getter for npcHandler.
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); } |