diff options
author | rubidium <rubidium@openttd.org> | 2010-08-10 15:54:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-10 15:54:53 +0000 |
commit | 29b489a055e12033b006410d5e67a493c64ccfe2 (patch) | |
tree | a0e8bee3d26a69341484ffe0461819e98fe1bf6f /src/vehicle.cpp | |
parent | 3d21fb44aae10d627cf24c7e42485c8f3a33ed42 (diff) | |
download | openttd-29b489a055e12033b006410d5e67a493c64ccfe2.tar.xz |
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 0fde74128..3a23dfab9 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -200,7 +200,7 @@ uint Vehicle::Crash(bool flooded) void ShowNewGrfVehicleError(EngineID engine, StringID part1, StringID part2, GRFBugs bug_type, bool critical) { const Engine *e = Engine::Get(engine); - uint32 grfid = e->grffile->grfid; + uint32 grfid = e->grf_prop.grffile->grfid; GRFConfig *grfconfig = GetGRFConfig(grfid); if (!HasBit(grfconfig->grf_bugs, bug_type)) { |