diff options
author | scnorton <scnorton@biociphers.org> | 2017-06-13 10:18:59 -0400 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2017-06-13 10:18:59 -0400 |
commit | 71f813e6e21e6ad5ec84b497cbb123b521979b92 (patch) | |
tree | ab2f61b73bc57e6a87d950b53eb652fe92225e1f /src/battle_ai.c | |
parent | dc79b94bb32c758253aba698115b60cb5a683266 (diff) | |
parent | e09e1da6c252e17cf6db429ad142b05dbf156548 (diff) |
Merge branch 'master' of github.com:pret/pokeruby
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r-- | src/battle_ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_ai.c b/src/battle_ai.c index f10c6a013..dbd926000 100644 --- a/src/battle_ai.c +++ b/src/battle_ai.c @@ -269,7 +269,7 @@ void BattleAI_HandleItemUseBeforeAISetup(void) s32 i; u8 *data = (u8 *)UNK_2016A00_STRUCT; - for (i = 0; (u32)i < sizeof(struct UnknownStruct1); i++) + for (i = 0; (u32)i < sizeof(struct UnkBattleStruct1); i++) data[i] = 0; if ((gBattleTypeFlags & BATTLE_TYPE_TRAINER) |