sizeOf data type, not pointer value

This commit is contained in:
PokeCodec
2020-08-23 18:50:57 -04:00
parent d7e31f5a85
commit 6aee7d38f3
10 changed files with 27 additions and 27 deletions

View File

@@ -406,7 +406,7 @@ void StartPokemonJump(u16 partyIndex, MainCallback callback)
if (gReceivedRemoteLinkPlayers)
{
gUnknown_02022CFC = Alloc(sizeof(*gUnknown_02022CFC));
gUnknown_02022CFC = Alloc(sizeof(struct PokemonJump1));
if (gUnknown_02022CFC)
{
ResetTasks();