mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-10 22:18:41 -05:00
CpuFastFill -> CpuFastFill16 in fieldmap
This commit is contained in:
parent
dcdf31f020
commit
d5dfd66812
|
|
@ -103,7 +103,7 @@ void InitMapFromSavedGame(void)
|
|||
static void InitMapLayoutData(struct MapHeader * mapHeader)
|
||||
{
|
||||
const struct MapLayout * mapLayout = mapHeader->mapLayout;
|
||||
CpuFastFill(MAPGRID_UNDEFINED << 16 | MAPGRID_UNDEFINED, gBackupMapData, sizeof(gBackupMapData));
|
||||
CpuFastFill16(MAPGRID_UNDEFINED, gBackupMapData, sizeof(gBackupMapData));
|
||||
VMap.map = gBackupMapData;
|
||||
VMap.Xsize = mapLayout->width + MAP_OFFSET_W;
|
||||
VMap.Ysize = mapLayout->height + MAP_OFFSET_H;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user