Hide minimap when hide all for artist debug mode
This commit is contained in:
parent
c8db9e2490
commit
a2d4763201
@ -261,12 +261,13 @@ void RaceGUI::renderGlobal(float dt)
|
|||||||
if(world->getPhase() == World::GOAL_PHASE)
|
if(world->getPhase() == World::GOAL_PHASE)
|
||||||
drawGlobalGoal();
|
drawGlobalGoal();
|
||||||
|
|
||||||
|
if (!m_enabled) return;
|
||||||
|
|
||||||
// MiniMap is drawn when the players wait for the start countdown to end
|
// MiniMap is drawn when the players wait for the start countdown to end
|
||||||
drawGlobalMiniMap();
|
drawGlobalMiniMap();
|
||||||
|
|
||||||
// Timer etc. are not displayed unless the game is actually started.
|
// Timer etc. are not displayed unless the game is actually started.
|
||||||
if(!world->isRacePhase()) return;
|
if(!world->isRacePhase()) return;
|
||||||
if (!m_enabled) return;
|
|
||||||
|
|
||||||
//drawGlobalTimer checks if it should display in the current phase/mode
|
//drawGlobalTimer checks if it should display in the current phase/mode
|
||||||
drawGlobalTimer();
|
drawGlobalTimer();
|
||||||
|
Loading…
Reference in New Issue
Block a user