summaryrefslogtreecommitdiff
path: root/src/town.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/town.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/town.h')
-rw-r--r--src/town.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town.h b/src/town.h
index e85307edd..068567842 100644
--- a/src/town.h
+++ b/src/town.h
@@ -13,8 +13,8 @@
#include "date_type.h"
#include "town_type.h"
#include "player_type.h"
-#include "newgrf_string_type.h"
#include "settings_type.h"
+#include "strings_type.h"
enum {
HOUSE_NO_CLASS = 0,
@@ -201,7 +201,7 @@ struct HouseSpec {
Year max_date; ///< last year it can be built
byte population; ///< population (Zero on other tiles in multi tile house.)
byte removal_cost; ///< cost multiplier for removing it
- GRFMappedStringID building_name; ///< building name
+ StringID building_name; ///< building name
uint16 remove_rating_decrease; ///< rating decrease if removed
byte mail_generation; ///< mail generation multiplier (tile based, as the acceptances below)
byte cargo_acceptance[3]; ///< acceptance level for the cargo slots