changeset 7182 | 644a1d06f2be |
parent 7180 | 6ecf06dd7299 |
child 7187 | f7dc3204d457 |
--- 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();