Changed: #1433 Merge changes from patch 1.13

This commit is contained in:
kervala 2012-03-04 14:09:23 +01:00
parent 344a2ad3c2
commit 9d4a10cb78
2 changed files with 2 additions and 2 deletions

View file

@ -997,7 +997,7 @@ void CBotChatPageTrade::startSellDialog(CDBCtrlSheet *sheet, CCtrlBase * /* pCal
CCtrlTextButton *confirmButton = dynamic_cast<CCtrlTextButton*>(ig->getCtrl("ok")); CCtrlTextButton *confirmButton = dynamic_cast<CCtrlTextButton*>(ig->getCtrl("ok"));
if (confirmButton) if (confirmButton)
{ {
confirmButton->setActive( sheet->getLockedByOwner() ); confirmButton->setActive( !sheet->getLockedByOwner() );
confirmButton->setText(CI18N::get("uiSellImmediately")); confirmButton->setText(CI18N::get("uiSellImmediately"));
confirmButton->setDefaultContextHelp(CI18N::get("uittDirectSellButton")); confirmButton->setDefaultContextHelp(CI18N::get("uittDirectSellButton"));
} }

View file

@ -2088,7 +2088,7 @@ public:
if(GenericMsgHeaderMngr.pushNameToStream(msgName, out)) if(GenericMsgHeaderMngr.pushNameToStream(msgName, out))
{ {
uint8 teamMember = (uint8) peopleIndex; uint8 teamMember = (uint8) peopleIndex;
out.serialEnum(teamMember); out.serial(teamMember);
NetMngr.push(out); NetMngr.push(out);
//nlinfo("impulseCallBack : %s %d sent", msgName.c_str(), teamMember); //nlinfo("impulseCallBack : %s %d sent", msgName.c_str(), teamMember);
} }