(svn r122) Change: exclusive transport rights are now stored per town instead of per station

Exclusive rights from old savegames will be reset.
This commit is contained in:
dominik
2004-08-23 21:04:39 +00:00
parent 1d1d14ebd3
commit 770f86bbbe
6 changed files with 43 additions and 23 deletions

2
town.h
View File

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