fix: avoid unexpected data shifting by removing preproc'd array size (#6916)

This commit is contained in:
khbsd
2025-05-20 10:09:04 -05:00
committed by GitHub
parent 0d8d36499b
commit ddc662fd32

View File

@@ -40,12 +40,7 @@ struct WildPokemonHeader
{
u8 mapGroup;
u8 mapNum;
#if OW_TIME_OF_DAY_ENCOUNTERS
const struct WildEncounterTypes encounterTypes[TIMES_OF_DAY_COUNT];
#else
const struct WildEncounterTypes encounterTypes[1];
#endif
};