From 9e78a9f9865a52730a8207fbfeea5ffec9c03a95 Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Thu, 4 Jun 2020 10:42:34 -0700 Subject: [PATCH] Power meter now renders correctly. --- REDALERT/POWER.CPP | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/REDALERT/POWER.CPP b/REDALERT/POWER.CPP index 57ec666..fb0fd41 100644 --- a/REDALERT/POWER.CPP +++ b/REDALERT/POWER.CPP @@ -228,8 +228,8 @@ void PowerClass::Draw_It(bool complete) #endif bottom = (175*RESFACTOR)+1; - LogicPage->Fill_Rect(ScreenWidth - (640 - (245*RESFACTOR)), bottom-power_height, 245*RESFACTOR+1, bottom, color2); - LogicPage->Fill_Rect(ScreenWidth - (640 - (246*RESFACTOR)), bottom-power_height, 246*RESFACTOR+1, bottom, color1); + LogicPage->Fill_Rect(ScreenWidth - (640 - (245*RESFACTOR)), bottom-power_height, ScreenWidth - (640 - (245*RESFACTOR+1)), bottom, color2); + LogicPage->Fill_Rect(ScreenWidth - (640 - (246*RESFACTOR)), bottom-power_height, ScreenWidth - (640 - (246*RESFACTOR+1)), bottom, color1); } /*