- fixed amb1302 - GetClientMenu() could return 1 for stale external menus
- fixed a debug assertion from StartMessage() + ShowMenu --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401844
This commit is contained in:
parent
c033f5415a
commit
63592212d5
@ -118,6 +118,7 @@ bool CRadioStyle::OnClientCommand(int client, const char *cmdname, const CComman
|
|||||||
{
|
{
|
||||||
if (!m_players[client].bInMenu)
|
if (!m_players[client].bInMenu)
|
||||||
{
|
{
|
||||||
|
m_players[client].bInExternMenu = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,7 +137,7 @@ static int g_last_clients[256];
|
|||||||
void CRadioStyle::OnUserMessage(int msg_id, bf_write *bf, IRecipientFilter *pFilter)
|
void CRadioStyle::OnUserMessage(int msg_id, bf_write *bf, IRecipientFilter *pFilter)
|
||||||
{
|
{
|
||||||
int count = pFilter->GetRecipientCount();
|
int count = pFilter->GetRecipientCount();
|
||||||
bf_read br(bf->GetBasePointer(), 2);
|
bf_read br(bf->GetBasePointer(), 3);
|
||||||
|
|
||||||
br.ReadWord();
|
br.ReadWord();
|
||||||
int c = br.ReadChar();
|
int c = br.ReadChar();
|
||||||
|
Loading…
Reference in New Issue
Block a user