mirror of
https://github.com/pret/pokeemerald.git
synced 2026-10-01 22:38:10 -05:00
fix: avoid unexpected data shifting by removing preproc'd array size (#6916)
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user