summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-01-03 23:50:58 +0000
committerglx <glx@openttd.org>2008-01-03 23:50:58 +0000
commite9a35fd75dcde4bc262386f11f41e425a12dac11 (patch)
tree026efa2300b2925d9151a9d24da6c7fc6329a271 /src/town.h
parent87a68bd80fa8f0c11ef4898e2c5ecbff8a60f7ad (diff)
downloadopenttd-e9a35fd75dcde4bc262386f11f41e425a12dac11.tar.xz
(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/town.h b/src/town.h
index 89e7dddbd..2e2dc8011 100644
--- a/src/town.h
+++ b/src/town.h
@@ -109,6 +109,7 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> {
PlayerByte exclusivity; ///< which player has exslusivity
uint8 exclusive_counter; ///< months till the exclusivity expires
int16 ratings[MAX_PLAYERS];
+ int16 test_rating;
/* Maximum amount of passengers and mail that can be transported. */
uint32 max_pass;
@@ -358,5 +359,6 @@ bool CheckIfAuthorityAllows(TileIndex tile);
Town *ClosestTownFromTile(TileIndex tile, uint threshold);
void ChangeTownRating(Town *t, int add, int max);
uint GetTownRadiusGroup(const Town* t, TileIndex tile);
+void SetTownRatingTestMode(bool mode);
#endif /* TOWN_H */