diff options
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r-- | src/net/ea/buysellhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp index 6bdc33305..fe2f7ffe0 100644 --- a/src/net/ea/buysellhandler.cpp +++ b/src/net/ea/buysellhandler.cpp @@ -31,7 +31,7 @@ #include "gui/windows/chatwindow.h" #include "gui/windows/buyselldialog.h" -#include "gui/windows/selldialog.h" +#include "gui/windows/npcselldialog.h" #include "gui/windows/buydialog.h" #include "gui/windows/shopwindow.h" @@ -146,7 +146,7 @@ void BuySellHandler::processNpcSell(Net::MessageIn &msg) const const int n_items = (msg.getLength() - 4) / 10; if (n_items > 0) { - SellDialog *const dialog = new SellDialog(mNpcId); + SellDialog *const dialog = new NpcSellDialog(mNpcId); dialog->setMoney(PlayerInfo::getAttribute(Attributes::MONEY)); for (int k = 0; k < n_items; k++) |