summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-28 19:53:25 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-28 19:53:25 +0000
commit80c9ecedcd2b16ff80011bd05fa57b7e98a583b4 (patch)
treeb166f58c5ce8de485036c3ca3f25214762548034 /src/newgrf.cpp
parent38ee1c8d499dd0289fb21eeba5394dd72cf344c8 (diff)
downloadopenttd-80c9ecedcd2b16ff80011bd05fa57b7e98a583b4.tar.xz
(svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early.
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();