summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/buysellhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwserv/buysellhandler.cpp')
-rw-r--r--src/net/tmwserv/buysellhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwserv/buysellhandler.cpp b/src/net/tmwserv/buysellhandler.cpp
index bab475d2..e6943ee0 100644
--- a/src/net/tmwserv/buysellhandler.cpp
+++ b/src/net/tmwserv/buysellhandler.cpp
@@ -84,7 +84,7 @@ void BuySellHandler::handleMessage(MessageIn &msg)
int itemId = msg.readInt16();
int amount = msg.readInt16();
int value = msg.readInt16();
- sellDialog->addItem(itemId, amount, value);
+ sellDialog->addItem(new Item(itemId, amount, false), value);
}
break;
}