diff options
author | Darkvater <darkvater@openttd.org> | 2007-01-28 21:53:13 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2007-01-28 21:53:13 +0000 |
commit | 39a50e372361837b00a1a58f1cae697654194e14 (patch) | |
tree | bd54e16fa3f52c728a5bad9311a09b9621fdd4ca /src/vehicle.h | |
parent | 00782c089d0a49f1fba31077d079894357926b8d (diff) | |
download | openttd-39a50e372361837b00a1a58f1cae697654194e14.tar.xz |
(svn r8448) -Codechange/Fix (r2993): Also update the helicopter's rotor when loading the game. This can solve crashes when a game is loaded with missing GRF's
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index 2b7773ced..8719ba91d 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -296,6 +296,7 @@ int GetTrainImage(const Vehicle* v, Direction direction); int GetAircraftImage(const Vehicle* v, Direction direction); int GetRoadVehImage(const Vehicle* v, Direction direction); int GetShipImage(const Vehicle* v, Direction direction); +SpriteID GetRotorImage(const Vehicle *v); Vehicle *CreateEffectVehicle(int x, int y, int z, EffectVehicle type); Vehicle *CreateEffectVehicleAbove(int x, int y, int z, EffectVehicle type); |