diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
commit | 0f7392bd616e0bd256b5ec241ad52d7230bcc454 (patch) | |
tree | f23fb584e594e0c9ff5a9ad650d97c493714078d /src/town.h | |
parent | 74f9be8f2c1dca108b88449e6935c61442cbf829 (diff) | |
download | openttd-0f7392bd616e0bd256b5ec241ad52d7230bcc454.tar.xz |
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/town.h b/src/town.h index 65de8e3e9..4b734ae9a 100644 --- a/src/town.h +++ b/src/town.h @@ -88,6 +88,7 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> { uint32 townnamegrfid; uint16 townnametype; uint32 townnameparts; + char *name; /* NOSAVE: Location of name sign, UpdateTownVirtCoord updates this. */ ViewportSign sign; |