mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Refactored scroll dimensions, fixed a crash were you would click on non existent tiles, editor now displays splash initially until you do new scenario or load a existing one.
This commit is contained in:
@@ -1309,17 +1309,11 @@ bool Select_Game(bool fade)
|
||||
PlayerPtr = HouseClass::As_Pointer(HOUSE_SPAIN);
|
||||
PlayerPtr->IsHuman = true;
|
||||
Base.House = HOUSE_USSR;
|
||||
//LastHouse = HOUSE_GOOD;
|
||||
Fill_In_Data();
|
||||
//Size_Map(-1, -1, 30, 30);
|
||||
Scen.Waypoint[WAYPT_REINF] = XY_Cell(Map.MapCellX + Map.MapCellWidth / 2, Map.MapCellY + Map.MapCellHeight / 2);
|
||||
Scen.Waypoint[WAYPT_HOME] = XY_Cell(Map.MapCellX + Map.MapCellWidth / 2, Map.MapCellY + Map.MapCellHeight / 2);
|
||||
// (*this)[TacticalCoord].IsWaypoint = 1;
|
||||
Map.Flag_Cell(Coord_Cell(Map.TacticalCoord));
|
||||
Map.Set_Tactical_Position(Cell_Coord(Scen.Waypoint[WAYPT_HOME] - (MAP_CELL_W * 4 * RESFACTOR) - (5 * RESFACTOR)));
|
||||
Go_Editor(true);
|
||||
process = false;
|
||||
Debug_SkipBriefing = true;
|
||||
Debug_RenderEditorSplash = true;
|
||||
#else
|
||||
Theme.Fade_Out();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user