diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-21 07:06:31 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-21 07:06:31 +0000 |
commit | ae94d7b26fbdceab210d5ba7bf257f77ddb81a20 (patch) | |
tree | 3026f917cd75fdee6e3c6c96a37cde096ed4b5a7 /newgrf.c | |
parent | 3660fab10a4785c37ead9a718c4e25c601e5c899 (diff) | |
download | openttd-ae94d7b26fbdceab210d5ba7bf257f77ddb81a20.tar.xz |
(svn r4496) - NewGRF: switch custom engine names from storing a char* to using the new StringID based text system. Vehicle name
translations now work.
Diffstat (limited to 'newgrf.c')
-rw-r--r-- | newgrf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1762,8 +1762,7 @@ static void VehicleNewName(byte *buf, int len) case GSF_ROAD: case GSF_SHIP: case GSF_AIRCRAFT: - SetCustomEngineName(id, name); - /*SetCustomEngineName(id, AddGRFString(_cur_grffile->grfid, id, lang, name));*/ + SetCustomEngineName(id, AddGRFString(_cur_grffile->grfid, id, lang, name)); break; #if 0 |