Called when a player is entering the game for the first time
| 1390 | |
| 1391 | // Called when a player is entering the game for the first time |
| 1392 | void InitPlayerNewGame(int slot) { |
| 1393 | Players[slot].num_kills_total = 0; |
| 1394 | Players[slot].num_deaths_total = 0; |
| 1395 | Players[slot].score = 0; |
| 1396 | |
| 1397 | uint32_t bit = (0x01 << slot); |
| 1398 | Players_typing &= ~bit; |
| 1399 | } |
| 1400 | |
| 1401 | // Called when a player is entering a new level |
| 1402 | void InitPlayerNewLevel(int slot) { |
no outgoing calls
no test coverage detected