| 202 | } |
| 203 | |
| 204 | void CRadioStyle::OnUserMessageSent(int msg_id) |
| 205 | { |
| 206 | for (unsigned int i=0; i<g_last_client_count; i++) |
| 207 | { |
| 208 | int client = g_last_clients[i]; |
| 209 | #if defined MENU_DEBUG |
| 210 | logger->LogMessage("[SM_MENU] CRadioStyle got ShowMenu (client %d) (bInMenu %d)", |
| 211 | client, |
| 212 | m_players[client].bInExternMenu); |
| 213 | #endif |
| 214 | if (m_players[client].bInMenu) |
| 215 | { |
| 216 | _CancelClientMenu(client, MenuCancel_Interrupted, true); |
| 217 | } |
| 218 | m_players[client].bInExternMenu = true; |
| 219 | m_players[client].menuHoldTime = g_last_holdtime; |
| 220 | } |
| 221 | g_last_client_count = 0; |
| 222 | } |
| 223 | |
| 224 | void CRadioStyle::SendDisplay(int client, IMenuPanel *display) |
| 225 | { |
no test coverage detected