Skip to content

Commit 4895cd2

Browse files
committed
Avoid minimap on left side when spectating with touch gui
1 parent 137e9dd commit 4895cd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/states_screens/race_gui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ void RaceGUI::calculateMinimapSize()
211211
m_map_width = (int)(map_size * scaling);
212212
m_map_height = (int)(map_size * scaling);
213213

214-
if(UserConfigParams::m_minimap_display == 1 && /*map on the right side*/
215-
race_manager->getNumLocalPlayers() == 1)
214+
if ((UserConfigParams::m_minimap_display == 1 && /*map on the right side*/
215+
race_manager->getNumLocalPlayers() == 1) || m_multitouch_gui)
216216
{
217217
m_map_left = (int)(irr_driver->getActualScreenSize().Width -
218218
m_map_width - 10.0f*scaling);

0 commit comments

Comments
 (0)