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
@@ -1042,7 +1042,7 @@ bool SidebarClass::Activate(int control)
** activate it on the left side of the screen.
*/
if (IsSidebarActive /*&& X*/) {
Set_View_Dimensions(0, 8 * RESFACTOR, ((320-SIDE_WIDTH)/ICON_PIXEL_W) * RESFACTOR);
Set_View_Dimensions(0, 8 * RESFACTOR, (((ScreenWidth/2)-SIDE_WIDTH)/ICON_PIXEL_W) * RESFACTOR);
IsToRedraw = true;
Help_Text(TXT_NONE);
Repair.Zap();