summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-09-23 19:27:15 +0000
committerrubidium <rubidium@openttd.org>2011-09-23 19:27:15 +0000
commita6f9488ae4285b7904755d0913a6134a95d43c28 (patch)
tree3f00471a1ed4d9d70b58dad9be7351cedbc454f9 /src/saveload
parent514fa060a21f58298cb7fda01b925d865ecce094 (diff)
downloadopenttd-a6f9488ae4285b7904755d0913a6134a95d43c28.tar.xz
(svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/strings_sl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/strings_sl.cpp b/src/saveload/strings_sl.cpp
index 00180978b..b1cc50d46 100644
--- a/src/saveload/strings_sl.cpp
+++ b/src/saveload/strings_sl.cpp
@@ -29,8 +29,8 @@ StringID RemapOldStringID(StringID s)
switch (s) {
case 0x0006: return STR_SV_EMPTY;
case 0x7000: return STR_SV_UNNAMED;
- case 0x70E4: return SPECSTR_PLAYERNAME_ENGLISH;
- case 0x70E9: return SPECSTR_PLAYERNAME_ENGLISH;
+ case 0x70E4: return SPECSTR_COMPANY_NAME_START;
+ case 0x70E9: return SPECSTR_COMPANY_NAME_START;
case 0x8864: return STR_SV_TRAIN_NAME;
case 0x902B: return STR_SV_ROAD_VEHICLE_NAME;
case 0x9830: return STR_SV_SHIP_NAME;