summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvblm12 <vblm12@gmail.com>2018-07-20 22:08:38 -0500
committervblm12 <vblm12@gmail.com>2018-07-20 22:08:38 -0500
commit07ea34e4c261f7e7b657435a087f7dff91d08ddd (patch)
tree4a030cdd25e4b89ca5980c854f7f3de7c42660b9
parentc41b8123e3fce07cb64fb565c92cc33350c19da7 (diff)
Make TrainerMonPtr fields const
-rw-r--r--include/battle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/battle.h b/include/battle.h
index bd7ba4b35..f6c50ea8a 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