summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index cd57977f0..2fc15c06a 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -6002,13 +6002,6 @@ static void AfterLoadGRFs()
}
_grf_line_to_action6_sprite_override.clear();
- /* 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();