summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-07-17 20:32:27 +0000
committerpeter1138 <peter1138@openttd.org>2007-07-17 20:32:27 +0000
commitb6d6e407ad34d76b7ce476ffb269852183f857bf (patch)
tree242dfe3d1ce376bf89164481638e1925fba05b8e /src/newgrf.cpp
parent736eafaf8e6351f49c012e763aecb3833190deeb (diff)
downloadopenttd-b6d6e407ad34d76b7ce476ffb269852183f857bf.tar.xz
(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 6c74edc0a..1c53d34a1 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1532,11 +1532,11 @@ static bool CargoChangeInfo(uint cid, int numinfo, int prop, byte **bufp, int le
break;
case 0x09: /* String ID for cargo type name */
- cs->name = grf_load_word(&buf);
+ cs->name_plural = grf_load_word(&buf);
break;
- case 0x0A: /* String for cargo name, plural */
- cs->name_plural = grf_load_word(&buf);
+ case 0x0A: /* String for 1 unit of cargo */
+ cs->name = grf_load_word(&buf);
break;
case 0x0B: