Initial start position for initial new scenerio now should work correctly.

This commit is contained in:
Justin Marshall
2020-07-19 10:48:29 -07:00
parent 0ceb87a4d4
commit ce830ee21d
+1 -1
View File
@@ -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));