(svn r9917) -Codechange: prepare some more areas for more road types.

This commit is contained in:
rubidium
2007-05-25 08:13:01 +00:00
parent a507341089
commit 21546a66f3
9 changed files with 42 additions and 12 deletions

View File

@@ -1716,7 +1716,10 @@ bool AfterLoadGame()
if (CheckSavegameVersion(34)) FOR_ALL_PLAYERS(p) ResetPlayerLivery(p);
FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index);
FOR_ALL_PLAYERS(p) {
p->avail_railtypes = GetPlayerRailtypes(p->index);
p->avail_roadtypes = GetPlayerRoadtypes(p->index);
}
if (!CheckSavegameVersion(27)) AfterLoadStations();