From ce830ee21dca9ef6b553c7096219a3023468e06e Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Sun, 19 Jul 2020 10:48:29 -0700 Subject: [PATCH] Initial start position for initial new scenerio now should work correctly. --- code/redalert/mapeddlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/redalert/mapeddlg.cpp b/code/redalert/mapeddlg.cpp index 62b0511..9fd9c5c 100644 --- a/code/redalert/mapeddlg.cpp +++ b/code/redalert/mapeddlg.cpp @@ -175,7 +175,7 @@ int MapEditClass::New_Scenario(void) ** Set the Home & Reinforcement Cells to the center of the map */ Scen.Waypoint[WAYPT_REINF] = XY_Cell(MapCellX + MapCellWidth / 2, MapCellY + MapCellHeight / 2); - Scen.Waypoint[WAYPT_HOME] = XY_Cell(MapCellX, MapCellY); + Scen.Waypoint[WAYPT_HOME] = XY_Cell(MapCellX - MapCellWidth / 2, MapCellY - MapCellHeight / 2); TacticalCoord = Cell_Coord(Scen.Waypoint[WAYPT_HOME]); (*this)[TacticalCoord].IsWaypoint = 1; Flag_Cell(Coord_Cell(TacticalCoord));