- fixed screen resize actions to work outside the automap.

This commit is contained in:
Christoph Oelckers 2020-08-19 20:38:36 +02:00
parent d645674c1c
commit f888df9f5b

View file

@ -862,13 +862,13 @@ void CheckKeys()
if (buttonMap.ButtonDown(gamefunc_Enlarge_Screen))
{
buttonMap.ClearButton(gamefunc_Enlarge_Screen);
if (nMapMode) G_ChangeHudLayout(1);
if (!nMapMode) G_ChangeHudLayout(1);
}
if (buttonMap.ButtonDown(gamefunc_Shrink_Screen))
{
buttonMap.ClearButton(gamefunc_Shrink_Screen);
if (nMapMode) G_ChangeHudLayout(-1);
if (!nMapMode) G_ChangeHudLayout(-1);
}
// go to 3rd person view?