| 286 | } |
| 287 | |
| 288 | void ClearPlayerLeftState() |
| 289 | { |
| 290 | for (size_t i = 0; i < Players.size(); i++) { |
| 291 | if (sgbPlayerLeftGameTbl[i]) { |
| 292 | if (gbBufferMsgs == 1) |
| 293 | msg_send_drop_pkt(i, sgdwPlayerLeftReasonTbl[i]); |
| 294 | else |
| 295 | PlayerLeftMsg(i, true); |
| 296 | |
| 297 | sgbPlayerLeftGameTbl[i] = false; |
| 298 | sgdwPlayerLeftReasonTbl[i] = 0; |
| 299 | } |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | void CheckDropPlayer() |
| 304 | { |
no test coverage detected