From bdea7d24d274b4d4ce975472b7089ef2b93c696e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Gon=C3=A7alves=20=28Ulukyn=29?= Date: Sat, 25 Sep 2021 16:24:29 +0100 Subject: [PATCH] Fix resell issue (use uint16 instead of uint8 for Index) --- ryzom/client/src/interface_v3/bot_chat_page_trade.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp b/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp index 39a4a7e0c..2ca15c4fa 100644 --- a/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp +++ b/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp @@ -1289,7 +1289,7 @@ void CBotChatPageTrade::confirmTrade( bool enableResale ) uint16 u16Index = (uint16) _CurrItemIndex; uint32 u32resalePrice = (uint32)max((sint32)0, resalePrice); out.serial(u8Inv); - out.serial(u8Index); + out.serial(u16Index); out.serial(u16Quantity); out.serial(u32resalePrice); NetMngr.push(out);