| 529 | //--------------------------------------------------------------------------- |
| 530 | |
| 531 | void InitRunLevel(void) |
| 532 | { |
| 533 | Mus_Stop(); |
| 534 | |
| 535 | DoTheCache(); |
| 536 | |
| 537 | // send packets with player info |
| 538 | InitNetPlayerOptions(); |
| 539 | |
| 540 | if (currentLevel) |
| 541 | { |
| 542 | PlaySong(currentLevel->music.GetChars(), currentLevel->cdSongId); |
| 543 | } |
| 544 | |
| 545 | InitPrediction(getPlayer(myconnectindex)); |
| 546 | |
| 547 | InitTimingVars(); |
| 548 | |
| 549 | if (snd_ambience) |
| 550 | StartAmbientSound(); |
| 551 | } |
| 552 | |
| 553 | |
| 554 | //--------------------------------------------------------------------------- |
no test coverage detected