summaryrefslogtreecommitdiff
path: root/include/pokemon.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-09-01 22:03:21 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-09-01 22:03:21 +0200
commite28ce3be7886eb38a29f1839a762598c8dfaec19 (patch)
treec135f1bec9fee34c4db04fbd214d9afcf65c4357 /include/pokemon.h
parent5c7ca813e75e6b87f1dc41e96aa55ebbbbc9e844 (diff)
Fix the strings length issue
Diffstat (limited to 'include/pokemon.h')
-rw-r--r--include/pokemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h
index 09496b5c3..abfb360f0 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -205,7 +205,7 @@ struct BoxPokemon
u8 hasSpecies:1;
u8 isEgg:1;
u8 unused:5;
- u8 otName[OT_NAME_LENGTH];
+ u8 otName[PLAYER_NAME_LENGTH];
u8 markings;
u16 checksum;
u16 unknown;