summaryrefslogtreecommitdiff
path: root/town.h
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-23 21:04:39 +0000
committerdominik <dominik@openttd.org>2004-08-23 21:04:39 +0000
commit770f86bbbe89401ddae8518910a6875af65c0ac3 (patch)
treed6c03495cca54829908bbe695956a762e7f6a6ef /town.h
parent1d1d14ebd3e4d85683f61d120944646864cebe4f (diff)
downloadopenttd-770f86bbbe89401ddae8518910a6875af65c0ac3.tar.xz
(svn r122) Change: exclusive transport rights are now stored per town instead of per station
Exclusive rights from old savegames will be reset.
Diffstat (limited to 'town.h')
-rw-r--r--town.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/town.h b/town.h
index 1a59c247e..f3bdbe419 100644
--- a/town.h
+++ b/town.h
@@ -29,6 +29,8 @@ struct Town {
// Player ratings as well as a mask that determines which players have a rating.
byte have_ratings;
uint8 unwanted[MAX_PLAYERS]; // how many months companies aren't wanted by towns (bribe)
+ uint8 exclusivity; // which player has exslusivity
+ uint8 exclusive_counter; // months till the exclusivity expires
int16 ratings[MAX_PLAYERS];
// Maximum amount of passengers and mail that can be transported.