diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-05 00:05:50 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-05 00:05:50 -0400 |
commit | 1b78a6e423a791d4f5248fd2b70bea9bf8e22e6c (patch) | |
tree | 15f3f370c371d3ab3d19168bb147651c16d94a63 /src | |
parent | 008a0504b5fd6a5e633e1be3bbe1f10e28bbe9d3 (diff) |
Put all local functions in statis; feeble attempt to fix undefined reference errors in German
Diffstat (limited to 'src')
-rw-r--r-- | src/trade.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trade.c b/src/trade.c index ad770fd76..42c4afe07 100644 --- a/src/trade.c +++ b/src/trade.c @@ -219,6 +219,7 @@ static #endif u8 sub_804A2B4(u8 *, u8, u8); static void sub_804A96C_alt(struct UnkStructD *, u8, u8, const u16 *, u8, u8, u16); +static void sub_804A96C(struct UnkStructD *, u8, u8, const u16 *, u8, u8, u16); #ifdef NONMATCHING static #endif @@ -5450,7 +5451,7 @@ static void sub_804DAD4(struct MailStruct *mail, const struct InGameTrade *trade StringCopy(mail->playerName, trade->otName); #if GERMAN - PadNameString(mail->string, CHAR_SPACE); + PadNameString(mail->playerName, CHAR_SPACE); #endif mail->trainerId[0] = trade->otId >> 24; |