| 189 | } |
| 190 | |
| 191 | void BaseMenuStyle::OnClientDisconnected(int client) |
| 192 | { |
| 193 | #if defined MENU_DEBUG |
| 194 | logger->LogMessage("[SM_MENU] OnClientDisconnected(%d)", client); |
| 195 | #endif |
| 196 | CBaseMenuPlayer *player = GetMenuPlayer(client); |
| 197 | if (!player->bInMenu) |
| 198 | { |
| 199 | return; |
| 200 | } |
| 201 | |
| 202 | _CancelClientMenu(client, MenuCancel_Disconnected, true); |
| 203 | |
| 204 | player->bInMenu = false; |
| 205 | player->bInExternMenu = false; |
| 206 | } |
| 207 | |
| 208 | static int do_lookup[256]; |
| 209 | void BaseMenuStyle::ProcessWatchList() |
nothing calls this directly
no test coverage detected