src/strings.cpp
branchNewGRF_ports
changeset 10242 52b4a9006029
parent 10200 aba3af04cdbd
child 10274 b3c58f3df92b
equal deleted inserted replaced
10211:c1391c8ed5c6 10242:52b4a9006029
  1193 		case 4: // song names
  1193 		case 4: // song names
  1194 			return strecpy(buff, origin_songs_specs[GetInt32(&argv) - 1].song_name, last);
  1194 			return strecpy(buff, origin_songs_specs[GetInt32(&argv) - 1].song_name, last);
  1195 	}
  1195 	}
  1196 
  1196 
  1197 	/* town name? */
  1197 	/* town name? */
  1198 	if (IsInsideMM(ind - 6, 0, SPECSTR_TOWNNAME_LAST-SPECSTR_TOWNNAME_START + 1)) {
  1198 	if (IsInsideMM(ind - 6, 0, SPECSTR_TOWNNAME_LAST - SPECSTR_TOWNNAME_START + 1)) {
  1199 		buff = GetSpecialTownNameString(buff, ind - 6, GetInt32(&argv), last);
  1199 		buff = GetSpecialTownNameString(buff, ind - 6, GetInt32(&argv), last);
  1200 		return strecpy(buff, " Transport", last);
  1200 		return strecpy(buff, " Transport", last);
  1201 	}
  1201 	}
  1202 
  1202 
  1203 	/* language name? */
  1203 	/* language name? */