summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/npcpostdialog.cpp6
-rw-r--r--src/net/ea/npchandler.cpp6
-rw-r--r--src/net/ea/npchandler.h3
-rw-r--r--src/net/npchandler.h3
4 files changed, 3 insertions, 15 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp
index fefa8103f..1adf01309 100644
--- a/src/gui/windows/npcpostdialog.cpp
+++ b/src/gui/windows/npcpostdialog.cpp
@@ -118,9 +118,9 @@ void NpcPostDialog::action(const ActionEvent &event)
}
else
{
- npcHandler->sendLetter(mNpcId,
- mSender->getText(),
- mText->getText());
+// npcHandler->sendLetter(mNpcId,
+// mSender->getText(),
+// mText->getText());
}
setVisible(false);
}
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 66ad24b43..3014df37e 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -42,12 +42,6 @@ NpcHandler::NpcHandler()
mRequestLang = false;
}
-void NpcHandler::sendLetter(const int npcId A_UNUSED,
- const std::string &recipient A_UNUSED,
- const std::string &text A_UNUSED) const
-{
-}
-
void NpcHandler::startShopping(const int beingId A_UNUSED) const
{
}
diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h
index 901ee9148..c43b73592 100644
--- a/src/net/ea/npchandler.h
+++ b/src/net/ea/npchandler.h
@@ -42,9 +42,6 @@ class NpcHandler notfinal : public Net::NpcHandler
public:
A_DELETE_COPY(NpcHandler)
- void sendLetter(const int npcId, const std::string &recipient,
- const std::string &text) const override final;
-
void startShopping(const int beingId) const override final;
void endShopping(const int beingId) const override final;
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index 9ba358068..ed93ba409 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -56,9 +56,6 @@ class NpcHandler notfinal
virtual void stringInput(const int npcId,
const std::string &value) const = 0;
- virtual void sendLetter(const int npcId, const std::string &recipient,
- const std::string &text) const = 0;
-
virtual void startShopping(const int beingId) const = 0;
virtual void buy(const int beingId) const = 0;