Hack fix for radar crash! Fix other UI elements.

This commit is contained in:
Justin Marshall
2020-06-04 10:00:15 -07:00
parent f90152155d
commit ed73a48ee9
6 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -413,7 +413,7 @@ int Do_Menu(char const ** strings, bool )
** specified menu.
*/
WindowList[WINDOW_MENU][WINDOWWIDTH] = (MenuList[0][ITEMWIDTH] + 2) * 8;
WindowList[WINDOW_MENU][WINDOWX] = (19 - (length >> 4)) * 8;
WindowList[WINDOW_MENU][WINDOWX] = ScreenWidth - ((19 - (length >> 4)) * 8);
WindowList[WINDOW_MENU][WINDOWY] = 174 - (unsigned)(MenuList[0][ITEMSHIGH] * (FontHeight+FontYSpacing));
WindowList[WINDOW_MENU][WINDOWHEIGHT] = MenuList[0][ITEMSHIGH] * FontHeight + 5 /*11*/;