diff options
author | smatz <smatz@openttd.org> | 2009-03-15 16:31:16 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-03-15 16:31:16 +0000 |
commit | 36dfa1f21e4fc517b03cddeb006d4dcbf459bd4a (patch) | |
tree | bb0f0b0cb26683ca06f3d25e619d1df101d83480 /src/saveload | |
parent | 8585aa71ed5bab510bc0a9104f36bc68734e0d73 (diff) | |
download | openttd-36dfa1f21e4fc517b03cddeb006d4dcbf459bd4a.tar.xz |
(svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/oldloader_sl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp index 3b0bf185c..812427b2c 100644 --- a/src/saveload/oldloader_sl.cpp +++ b/src/saveload/oldloader_sl.cpp @@ -108,7 +108,7 @@ static uint32 RemapOldTownName(uint32 townnameparts, byte old_town_name_type) case 1: // French /* For some reason 86 needs to be subtracted from townnameparts * 0000 0000 0000 0000 0000 0000 1111 1111 */ - return FIXNUM(townnameparts - 86, lengthof(name_french_real), 0); + return FIXNUM(townnameparts - 86, lengthof(_name_french_real), 0); case 2: // German DEBUG(misc, 0, "German Townnames are buggy (%d)", townnameparts); @@ -116,13 +116,13 @@ static uint32 RemapOldTownName(uint32 townnameparts, byte old_town_name_type) case 4: // Latin-American /* 0000 0000 0000 0000 0000 0000 1111 1111 */ - return FIXNUM(townnameparts, lengthof(name_spanish_real), 0); + return FIXNUM(townnameparts, lengthof(_name_spanish_real), 0); case 5: // Silly /* NUM_SILLY_1 - lower 16 bits * NUM_SILLY_2 - upper 16 bits without leading 1 (first 8 bytes) * 1000 0000 2222 2222 0000 0000 1111 1111 */ - return FIXNUM(townnameparts, lengthof(name_silly_1), 0) | FIXNUM(GB(townnameparts, 16, 8), lengthof(name_silly_2), 16); + return FIXNUM(townnameparts, lengthof(_name_silly_1), 0) | FIXNUM(GB(townnameparts, 16, 8), lengthof(_name_silly_2), 16); } return 0; } |