Fixed loading into the wrong version of a map after saving in areas with multiple layouts (#5347)
Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
parent
5089b1d0b4
commit
dc2bbe0448
1 changed files with 1 additions and 1 deletions
|
@ -624,7 +624,7 @@ static void LoadCurrentMapData(void)
|
|||
static void LoadSaveblockMapHeader(void)
|
||||
{
|
||||
gMapHeader = *Overworld_GetMapHeaderByGroupAndId(gSaveBlock1Ptr->location.mapGroup, gSaveBlock1Ptr->location.mapNum);
|
||||
gMapHeader.mapLayout = GetMapLayout(gMapHeader.mapLayoutId);
|
||||
gMapHeader.mapLayout = GetMapLayout(gSaveBlock1Ptr->mapLayoutId);
|
||||
}
|
||||
|
||||
static void SetPlayerCoordsFromWarp(void)
|
||||
|
|
Loading…
Reference in a new issue