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
@ -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…
x
Reference in New Issue
Block a user