Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/src/m_menu.c
- ===================================================================
- --- D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/src/m_menu.c (revision 3361)
- +++ D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/src/m_menu.c (revision 3362)
- @@ -141,6 +141,8 @@
- dboolean inhelpscreens; // indicates we are in or just left a help screen
- +dboolean BorderNeedRefresh;
- +
- dboolean menuactive; // The menus are up
- #define SKULLXOFF -32
- @@ -5604,6 +5606,8 @@
- print_warning_about_changes = 0; // killough 8/15/98
- default_verify = 0; // killough 10/98
- + BorderNeedRefresh = true;
- +
- // if (!netgame && usergame && paused)
- // sendpause = true;
- }
- @@ -5615,6 +5619,8 @@
- {
- currentMenu = menudef;
- itemOn = currentMenu->lastOn;
- +
- + BorderNeedRefresh = true;
- }
- /////////////////////////////
- Index: D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/src/d_main.c
- ===================================================================
- --- D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/src/d_main.c (revision 3361)
- +++ D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/src/d_main.c (revision 3362)
- @@ -117,6 +117,7 @@
- //jff 4/18/98
- extern dboolean inhelpscreens;
- +extern dboolean BorderNeedRefresh;
- skill_t startskill;
- int startepisode;
- @@ -355,7 +356,8 @@
- if (automapmode & am_active)
- AM_Drawer();
- - ST_Drawer((viewheight != SCREENHEIGHT) || ((automapmode & am_active) && !(automapmode & am_overlay)), redrawborderstuff);
- + ST_Drawer((viewheight != SCREENHEIGHT) || ((automapmode & am_active) && !(automapmode & am_overlay)), redrawborderstuff || BorderNeedRefresh);
- + BorderNeedRefresh = false;
- if (V_GetMode() != VID_MODEGL)
- R_DrawViewBorder();
- HU_Drawer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement