| 532 | |
| 533 | #if defined(WITH_MULTIPLAYER) |
| 534 | bool InGameMenu::IsSpectating() |
| 535 | { |
| 536 | if (auto* mpLevelHandler = runtime_cast<Jazz2::Multiplayer::MpLevelHandler>(_root)) { |
| 537 | return mpLevelHandler->IsSpectating(); |
| 538 | } |
| 539 | |
| 540 | return false; |
| 541 | } |
| 542 | |
| 543 | void InGameMenu::ToggleSpectate() |
| 544 | { |
no outgoing calls
no test coverage detected