diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-13 22:56:29 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-13 22:56:29 +0000 |
commit | 3dc311a652d1fda1252903a974920395e56e5668 (patch) | |
tree | 7098d55015d28a4d973c5073d7c9e45ae03ec400 /src/gui/sell.cpp | |
parent | 78771718bf7af14273d7bb0090dccff97b00b397 (diff) | |
download | mana-client-3dc311a652d1fda1252903a974920395e56e5668.tar.gz mana-client-3dc311a652d1fda1252903a974920395e56e5668.tar.bz2 mana-client-3dc311a652d1fda1252903a974920395e56e5668.tar.xz mana-client-3dc311a652d1fda1252903a974920395e56e5668.zip |
Merged with SDL_NET_TEST branch.
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r-- | src/gui/sell.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index 2684fc2a..b6cbe5df 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -230,11 +230,11 @@ void SellDialog::action(const std::string& eventId) // Attempt sell assert(m_amountItems > 0 && m_amountItems <= m_maxItems); - WFIFOW(0) = net_w_value(0x00c9); - WFIFOW(2) = net_w_value(8); - WFIFOW(4) = net_w_value(shopInventory[selectedItem].index); - WFIFOW(6) = net_w_value(m_amountItems); - WFIFOSET(8); + writeWord(0, 0x00c9); + writeWord(2, 8); + writeWord(4, shopInventory[selectedItem].index); + writeWord(6, m_amountItems); + writeSet(8); m_maxItems -= m_amountItems; m_amountItems = 0; |