Display race gui in 1 more spectating mode

This commit is contained in:
Benau 2020-11-17 01:19:19 +08:00
parent e2d4936056
commit 0a273d8882

View File

@ -389,7 +389,7 @@ void RaceGUI::renderPlayerView(const Camera *camera, float dt)
if(!World::getWorld()->isRacePhase()) return;
FontDrawer::startBatching();
if (!isSpectatorCam)
if (Camera::getActiveCamera()->getMode() != Camera::CM_SPECTATOR_TOP_VIEW)
{
if (m_multitouch_gui == NULL || m_multitouch_gui->isSpectatorMode())
{