diff options
author | camthesaxman <cameronghall@cox.net> | 2017-06-10 12:16:53 -0500 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2017-06-10 12:16:53 -0500 |
commit | a46403232f325b0c7da93562376fe63887f8e7db (patch) | |
tree | 82ef943ce08debc5d515079c4afe572e52acfdb8 /src/battle_ai.c | |
parent | 49f1eec47221914975e257f3ea4a12d8edbfe376 (diff) | |
parent | b741c626e72a2c52351fddbbfc536f66183d009f (diff) |
Merge branch 'master' into decompile_battle_7
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) |