mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
- 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:
parent
80768e2fa8
commit
0ed3b3b3ea
1 changed files with 2 additions and 2 deletions
|
@ -1012,13 +1012,13 @@ void CheckKeys()
|
||||||
if (buttonMap.ButtonDown(gamefunc_Enlarge_Screen))
|
if (buttonMap.ButtonDown(gamefunc_Enlarge_Screen))
|
||||||
{
|
{
|
||||||
buttonMap.ClearButton(gamefunc_Enlarge_Screen);
|
buttonMap.ClearButton(gamefunc_Enlarge_Screen);
|
||||||
G_ChangeHudLayout(1);
|
if (nMapMode) G_ChangeHudLayout(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buttonMap.ButtonDown(gamefunc_Shrink_Screen))
|
if (buttonMap.ButtonDown(gamefunc_Shrink_Screen))
|
||||||
{
|
{
|
||||||
buttonMap.ClearButton(gamefunc_Shrink_Screen);
|
buttonMap.ClearButton(gamefunc_Shrink_Screen);
|
||||||
G_ChangeHudLayout(-1);
|
if (nMapMode) G_ChangeHudLayout(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// go to 3rd person view?
|
// go to 3rd person view?
|
||||||
|
|
Loading…
Reference in a new issue