diff options
author | terkhen <terkhen@openttd.org> | 2011-06-12 20:31:44 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-12 20:31:44 +0000 |
commit | d7ec492887674362c6a054b28faf26707932df64 (patch) | |
tree | f06af8ab86ace002f04cd96e94ca488f261a75a8 /src/industry.h | |
parent | f12e71e1bebde01ce5c89db8d102d742acc45ac7 (diff) | |
download | openttd-d7ec492887674362c6a054b28faf26707932df64.tar.xz |
(svn r22556) -Codechange: Remove constness from the town pointer at industries.
Diffstat (limited to 'src/industry.h')
-rw-r--r-- | src/industry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry.h b/src/industry.h index 18a20a775..ba8c06ed5 100644 --- a/src/industry.h +++ b/src/industry.h @@ -41,7 +41,7 @@ struct Industry : IndustryPool::PoolItem<&_industry_pool> { typedef PersistentStorageArray<int32, 16> PersistentStorage; TileArea location; ///< Location of the industry - const Town *town; ///< Nearest town + Town *town; ///< Nearest town CargoID produced_cargo[2]; ///< 2 production cargo slots uint16 produced_cargo_waiting[2]; ///< amount of cargo produced per cargo uint16 incoming_cargo_waiting[3]; ///< incoming cargo waiting to be processed |