From 562af3f7bf8335441b96a1c85f338141823c06f8 Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Mon, 8 Jun 2020 18:40:29 -0700 Subject: [PATCH] Map Editor Mouse Control expands to the entire window. --- REDALERT/MAPEDIT.CPP | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/REDALERT/MAPEDIT.CPP b/REDALERT/MAPEDIT.CPP index 6280549..de05922 100644 --- a/REDALERT/MAPEDIT.CPP +++ b/REDALERT/MAPEDIT.CPP @@ -141,7 +141,7 @@ void MapEditClass::One_Time(void) ** The map: a single large "button" */ #ifdef WIN32 - MapArea = new ControlClass(MAP_AREA, 0, 8, 640-8, 400-8, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false); + MapArea = new ControlClass(MAP_AREA, 0, 8, ScreenWidth-8, ScreenHeight-8, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false); #else MapArea = new ControlClass(MAP_AREA, 0, 8, 312, 192, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false); #endif