From 9d4a10cb78cdcfe7de0494f550d33a2e340ecbf3 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 4 Mar 2012 14:09:23 +0100 Subject: [PATCH] Changed: #1433 Merge changes from patch 1.13 --- code/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp | 2 +- code/ryzom/client/src/interface_v3/people_interraction.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp b/code/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp index 1cd5644d4..bde03fa4b 100644 --- a/code/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp +++ b/code/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp @@ -997,7 +997,7 @@ void CBotChatPageTrade::startSellDialog(CDBCtrlSheet *sheet, CCtrlBase * /* pCal CCtrlTextButton *confirmButton = dynamic_cast(ig->getCtrl("ok")); if (confirmButton) { - confirmButton->setActive( sheet->getLockedByOwner() ); + confirmButton->setActive( !sheet->getLockedByOwner() ); confirmButton->setText(CI18N::get("uiSellImmediately")); confirmButton->setDefaultContextHelp(CI18N::get("uittDirectSellButton")); } diff --git a/code/ryzom/client/src/interface_v3/people_interraction.cpp b/code/ryzom/client/src/interface_v3/people_interraction.cpp index a92d73ce3..a6f5f8e31 100644 --- a/code/ryzom/client/src/interface_v3/people_interraction.cpp +++ b/code/ryzom/client/src/interface_v3/people_interraction.cpp @@ -2088,7 +2088,7 @@ public: if(GenericMsgHeaderMngr.pushNameToStream(msgName, out)) { uint8 teamMember = (uint8) peopleIndex; - out.serialEnum(teamMember); + out.serial(teamMember); NetMngr.push(out); //nlinfo("impulseCallBack : %s %d sent", msgName.c_str(), teamMember); }