From 3dc311a652d1fda1252903a974920395e56e5668 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Tue, 13 Sep 2005 22:56:29 +0000 Subject: Merged with SDL_NET_TEST branch. --- src/gui/buysell.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/buysell.cpp') diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp index c81744dc..6a56e67f 100644 --- a/src/gui/buysell.cpp +++ b/src/gui/buysell.cpp @@ -77,10 +77,10 @@ void BuySellDialog::action(const std::string& eventId) current_npc = 0; } if (actionId > -1) { - WFIFOW(0) = net_w_value(0x00c5); - WFIFOL(2) = net_l_value(current_npc); - WFIFOB(6) = net_b_value(actionId); - WFIFOSET(7); + writeWord(0, 0x00c5); + writeLong(2, current_npc); + writeByte(6, actionId); + writeSet(7); } setVisible(false); -- cgit v1.2.3-70-g09d2