diff -r 00490513d7b1 -r 9e8b32366bd6 src/newgrf.cpp --- a/src/newgrf.cpp Fri May 25 08:13:01 2007 +0000 +++ b/src/newgrf.cpp Fri May 25 08:47:40 2007 +0000 @@ -4808,6 +4808,13 @@ static void AfterLoadGRFs() { + /* Update the bitmasks for the vehicle lists */ + Player *p; + FOR_ALL_PLAYERS(p) { + p->avail_railtypes = GetPlayerRailtypes(p->index); + p->avail_roadtypes = GetPlayerRoadtypes(p->index); + } + /* Pre-calculate all refit masks after loading GRF files. */ CalculateRefitMasks();