diff options
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r-- | src/net/ea/buysellhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp index 9cee4d434..7a66df305 100644 --- a/src/net/ea/buysellhandler.cpp +++ b/src/net/ea/buysellhandler.cpp @@ -151,7 +151,8 @@ void BuySellHandler::processNpcSell(Net::MessageIn &msg, int offset) const int value = msg.readInt32(); msg.readInt32(); // value - const Item *const item = PlayerInfo::getInventory()->getItem(index); + const Item *const item = PlayerInfo::getInventory() + ->getItem(index); if (item && !(item->isEquipped())) dialog->addItem(item, value); |