Avoid minimap on left side when spectating with touch gui
This commit is contained in:
parent
137e9dd99e
commit
4895cd27a4
@ -211,8 +211,8 @@ void RaceGUI::calculateMinimapSize()
|
|||||||
m_map_width = (int)(map_size * scaling);
|
m_map_width = (int)(map_size * scaling);
|
||||||
m_map_height = (int)(map_size * scaling);
|
m_map_height = (int)(map_size * scaling);
|
||||||
|
|
||||||
if(UserConfigParams::m_minimap_display == 1 && /*map on the right side*/
|
if ((UserConfigParams::m_minimap_display == 1 && /*map on the right side*/
|
||||||
race_manager->getNumLocalPlayers() == 1)
|
race_manager->getNumLocalPlayers() == 1) || m_multitouch_gui)
|
||||||
{
|
{
|
||||||
m_map_left = (int)(irr_driver->getActualScreenSize().Width -
|
m_map_left = (int)(irr_driver->getActualScreenSize().Width -
|
||||||
m_map_width - 10.0f*scaling);
|
m_map_width - 10.0f*scaling);
|
||||||
|
Loading…
Reference in New Issue
Block a user