(svn r22556) -Codechange: Remove constness from the town pointer at industries.

This commit is contained in:
terkhen
2011-06-12 20:31:44 +00:00
parent f12e71e1be
commit d7ec492887
2 changed files with 4 additions and 4 deletions

View File

@@ -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