diff options
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 8f70f5109..ffc6c0176 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -279,6 +279,13 @@ void StartupEngines() e->player_avail = 0; } } + + /* 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); + } } static void AcceptEnginePreview(EngineID eid, PlayerID player) |