diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2020-01-24 21:57:31 -0500 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-01-24 21:57:31 -0500 |
commit | 70e7f464cafb9173aef2eb0a8a7b47bc90238f09 (patch) | |
tree | 00a63ee6d626b2cd9edf24f567306fcb85e8df8b /src/union_room.c | |
parent | 2531afb6abe342df58175f7d5bdafca63a600888 (diff) |
PLAYER_NAME_LENGTH to 7
Diffstat (limited to 'src/union_room.c')
-rw-r--r-- | src/union_room.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/union_room.c b/src/union_room.c index 4e3428cc6..6be88e2dd 100644 --- a/src/union_room.c +++ b/src/union_room.c @@ -3385,7 +3385,7 @@ static void sub_81199FC(u8 taskId) case 2: if (sUnionRoomPlayerName[0] == EOS) { - for (i = 0; i < PLAYER_NAME_LENGTH; i++) + for (i = 0; i < PLAYER_NAME_LENGTH + 1; i++) { if (structPtr->field_0->arr[i].field_1A_0 == 1) { |