(svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
-Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
This commit is contained in:
@@ -490,7 +490,7 @@ Player *DoStartupNewPlayer(bool is_ai)
|
||||
p->share_owners[0] = p->share_owners[1] = p->share_owners[2] = p->share_owners[3] = OWNER_SPECTATOR;
|
||||
|
||||
p->avail_railtypes = GetPlayerRailtypes(p->index);
|
||||
p->inaugurated_year = _cur_year;
|
||||
p->inaugurated_year = _cur_year - BASE_YEAR;
|
||||
p->face = Random();
|
||||
|
||||
/* Engine renewal settings */
|
||||
|
||||
Reference in New Issue
Block a user