Changeset - r7276:fc0f2c97b3b7
[Not reviewed]
master
0 2 0
peter1138 - 17 years ago 2007-07-17 20:32:27
peter1138@openttd.org
(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.
2 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
src/cargotype.h
Show inline comments
 
@@ -33,8 +33,8 @@ struct CargoSpec {
 
	uint16 multipliertowngrowth;
 
	uint8 callback_mask;
 

	
 
	StringID name_plural;
 
	StringID name;
 
	StringID name_plural;
 
	StringID units_volume;
 
	StringID quantifier;
 
	StringID abbrev;
src/newgrf.cpp
Show inline comments
 
@@ -1532,13 +1532,13 @@ static bool CargoChangeInfo(uint cid, in
 
				break;
 

	
 
			case 0x09: /* String ID for cargo type name */
 
				cs->name_plural = grf_load_word(&buf);
 
				break;
 

	
 
			case 0x0A: /* String for 1 unit of cargo */
 
				cs->name = grf_load_word(&buf);
 
				break;
 

	
 
			case 0x0A: /* String for cargo name, plural */
 
				cs->name_plural = grf_load_word(&buf);
 
				break;
 

	
 
			case 0x0B:
 
				/* String for units of cargo. This is different in OpenTTD to TTDPatch
 
				 * (e.g. 10 tonnes of coal) */
0 comments (0 inline, 0 general)