(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:
2006-04-21 07:06:31 +00:00
parent 3660fab10a
commit ae94d7b26f
3 changed files with 9 additions and 14 deletions

View File

@@ -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