summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-06-07 14:09:45 -0500
committercamthesaxman <cameronghall@cox.net>2017-06-07 14:09:45 -0500
commit61101812ca750393ba24cae103cb86b40001251a (patch)
tree47c56ca9aed0504f7425dc065dd66fdf0d59ecc1 /src/battle_ai.c
parent6e203fc646494445f28670f14a95067d58d3785d (diff)
decompile sub_811FAE4 - sub_811FCE8
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r--src/battle_ai.c2
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)