From 07ea34e4c261f7e7b657435a087f7dff91d08ddd Mon Sep 17 00:00:00 2001 From: vblm12 Date: Fri, 20 Jul 2018 22:08:38 -0500 Subject: [PATCH] Make TrainerMonPtr fields const --- include/battle.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/battle.h b/include/battle.h index bd7ba4b35f..f6c50ea8a2 100644 --- a/include/battle.h +++ b/include/battle.h @@ -106,10 +106,10 @@ struct TrainerMonItemCustomMoves union TrainerMonPtr { - struct TrainerMonNoItemDefaultMoves *NoItemDefaultMoves; - struct TrainerMonNoItemCustomMoves *NoItemCustomMoves; - struct TrainerMonItemDefaultMoves *ItemDefaultMoves; - struct TrainerMonItemCustomMoves *ItemCustomMoves; + const struct TrainerMonNoItemDefaultMoves *NoItemDefaultMoves; + const struct TrainerMonNoItemCustomMoves *NoItemCustomMoves; + const struct TrainerMonItemDefaultMoves *ItemDefaultMoves; + const struct TrainerMonItemCustomMoves *ItemCustomMoves; }; struct Trainer