MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / UnstashMap

Function UnstashMap

src/openrct2/world/Map.cpp:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 void UnstashMap()
117 {
118 auto& gameState = getGameState();
119 _tileIndex = std::move(_tileIndexStash);
120 gameState.tileElements = std::move(_tileElementsStash);
121 gameState.mapSize = _mapSizeStash;
122 _tileElementsInUse = _tileElementsInUseStash;
123 }
124
125 CoordsXY GetMapSizeUnits()
126 {

Callers 1

TrackDesignDrawPreviewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected