- manual merge of * PCExhumed: Don't shrink/expand screen viewable area if in map mode. Fixes #327

Code was too different for cherry-picking.
This commit is contained in:
Christoph Oelckers 2020-02-26 20:51:19 +01:00
parent 80768e2fa8
commit 0ed3b3b3ea

View file

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