diff options
author | rubidium <rubidium@openttd.org> | 2009-03-13 00:30:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-13 00:30:26 +0000 |
commit | eb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2 (patch) | |
tree | 423a5c4f3ace7646dcd0dd867312bdd30a4ff797 /src/newgrf_text.h | |
parent | f6e4bc765ae9a69e3e0622724c6859d5b315c4af (diff) | |
download | openttd-eb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2.tar.xz |
(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r-- | src/newgrf_text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h index 1b72a8c94..01c6e8c2f 100644 --- a/src/newgrf_text.h +++ b/src/newgrf_text.h @@ -9,7 +9,7 @@ StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_schem StringID GetGRFStringID(uint32 grfid, uint16 stringid); const char *GetGRFStringPtr(uint16 stringid); void CleanUpStrings(); -void SetCurrentGrfLangID(const char *iso_name); +void SetCurrentGrfLangID(byte language_id); char *TranslateTTDPatchCodes(uint32 grfid, const char *str); bool CheckGrfLangID(byte lang_id, byte grf_version); |