summaryrefslogtreecommitdiff
path: root/src/new_game.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-09-08 12:21:24 -0400
committerhuderlem <huderlem@gmail.com>2019-09-16 19:21:23 -0500
commitb46c4b670339754ca83fd9f2809f13d4de0dc6a5 (patch)
treec1e4b1f76785a3d26047ada7eab8119281386990 /src/new_game.c
parent85d97542cdb269278aad3cc3735c29845f9d8738 (diff)
more constant usage
Diffstat (limited to 'src/new_game.c')
-rw-r--r--src/new_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_game.c b/src/new_game.c
index b4d9ba9b3..1021ea96c 100644
--- a/src/new_game.c
+++ b/src/new_game.c
@@ -81,7 +81,7 @@ u32 GetTrainerId(u8 *trainerId)
void CopyTrainerId(u8 *dst, u8 *src)
{
s32 i;
- for (i = 0; i < 4; i++)
+ for (i = 0; i < TRAINER_ID_LENGTH; i++)
dst[i] = src[i];
}