mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-28 13:41:15 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user