From 05555015ea0d2b0efd66acb536f76994a3452d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Gon=C3=A7alves=20=28Ulukyn=29?= Date: Sat, 25 Sep 2021 14:01:27 +0100 Subject: [PATCH] Fixed: set uint16 in resell slotID --- .../server/src/entities_game_service/client_messages.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryzom/server/src/entities_game_service/client_messages.cpp b/ryzom/server/src/entities_game_service/client_messages.cpp index 7bedf0bf5..031bc9134 100644 --- a/ryzom/server/src/entities_game_service/client_messages.cpp +++ b/ryzom/server/src/entities_game_service/client_messages.cpp @@ -1858,7 +1858,7 @@ void cbClientBotChatTradeSell( NLNET::CMessage& msgin, const std::string &servic H_AUTO(cbClientBotChatTradeSell); uint8 inv; - uint8 idx; + uint16 idx; uint16 quantity; uint32 price; CEntityId userId; @@ -2645,7 +2645,7 @@ void cbClientWho( NLNET::CMessage& msgin, const std::string &serviceName, NLNET: return; } CPlayer *p = PlayerManager.getPlayer(PlayerManager.getPlayerId(user->getId())); - + if (NLMISC::nlstricmp( opt.c_str(), "league" ) == 0) { chanID = user->getLeagueId(); @@ -3402,7 +3402,7 @@ void cbGetNpcIconDesc( NLNET::CMessage& msgin, const std::string & serviceName, { CEntityId eid; vector npcKeys; - + msgin.serial( eid ); msgin.serialCont( npcKeys ); @@ -3670,7 +3670,7 @@ TUnifiedCallbackItem CbClientArray[]= { "CLIENT:RING_MISSION:MISSION_RING_SELECT",cbRingMissionSelectAction }, { "CLIENT:NPC_ICON:GET_DESC", cbGetNpcIconDesc }, -}; +};