diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-02-27 18:13:28 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-02-27 18:13:28 +0100 |
commit | a9212eeb664efcdfb74a2f4bbc5e94f37e27e748 (patch) | |
tree | c8f9e6ddb0a93214e1bc47dadb5dfcebcb1735e8 /src/battle_controllers.c | |
parent | 8ff9cb0edec3d8af7f89d7a7a6f83cc457f0ed7c (diff) |
battle file more done and clean up tv
Diffstat (limited to 'src/battle_controllers.c')
-rw-r--r-- | src/battle_controllers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_controllers.c b/src/battle_controllers.c index 3c8b1563f..3d5ffeb3a 100644 --- a/src/battle_controllers.c +++ b/src/battle_controllers.c @@ -121,10 +121,10 @@ void sub_8032768(void) } for (i = 0; i < sizeof(gBattleStruct->field_1A4); i++) - *(gBattleStruct->field_1A4 + i) = 0; + *((u8*)(&gBattleStruct->field_1A4) + i) = 0; for (i = 0; i < sizeof(gBattleStruct->field_204); i++) - *(gBattleStruct->field_204 + i) = 0; + *((u8*)(&gBattleStruct->field_204) + i) = 0; } static void InitSinglePlayerBtlControllers(void) |