diff options
-rw-r--r-- | src/cargotype.h | 2 | ||||
-rw-r--r-- | src/newgrf.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index 347f09427..b7a18c8b4 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -33,8 +33,8 @@ struct CargoSpec { uint16 multipliertowngrowth; uint8 callback_mask; - StringID name; StringID name_plural; + StringID name; StringID units_volume; StringID quantifier; StringID abbrev; 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: |