summaryrefslogtreecommitdiff
path: root/src/cargotype.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-17 11:47:22 +0000
committerrubidium <rubidium@openttd.org>2008-04-17 11:47:22 +0000
commit6dc210b171919b2a5d4434f90520f615b2abfc0a (patch)
tree5acb4a3c8eefc56274a8869d71f45aa60fe942f5 /src/cargotype.h
parentc7357bee943e564ba9f18193cad046a457311c81 (diff)
downloadopenttd-6dc210b171919b2a5d4434f90520f615b2abfc0a.tar.xz
(svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory.
Diffstat (limited to 'src/cargotype.h')
-rw-r--r--src/cargotype.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cargotype.h b/src/cargotype.h
index 7d770b1b9..51bd2fd64 100644
--- a/src/cargotype.h
+++ b/src/cargotype.h
@@ -7,7 +7,7 @@
#include "cargo_type.h"
#include "gfx_type.h"
-#include "newgrf_string_type.h"
+#include "strings_type.h"
typedef uint32 CargoLabel;
@@ -36,11 +36,11 @@ struct CargoSpec {
uint16 multipliertowngrowth;
uint8 callback_mask;
- GRFMappedStringID name;
- GRFMappedStringID name_single;
- GRFMappedStringID units_volume;
- GRFMappedStringID quantifier;
- GRFMappedStringID abbrev;
+ StringID name;
+ StringID name_single;
+ StringID units_volume;
+ StringID quantifier;
+ StringID abbrev;
SpriteID sprite;