diff --git a/src/fieldmap.c b/src/fieldmap.c index e51e9aca7..1b50b8277 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -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;