mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Changed: #1433 Merge changes from patch 1.13
This commit is contained in:
parent
344a2ad3c2
commit
9d4a10cb78
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