Changed: #1433 Merge changes from patch 1.13
This commit is contained in:
parent
f179ef28b1
commit
01a3479288
2 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue