forked from mirror/OpenTTD
(svn r4496) - NewGRF: switch custom engine names from storing a char* to using the new StringID based text system. Vehicle name
translations now work.
This commit is contained in:
3
newgrf.c
3
newgrf.c
@@ -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
|
||||
|
Reference in New Issue
Block a user