diff options
author | frosch <frosch@openttd.org> | 2016-12-10 14:33:58 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2016-12-10 14:33:58 +0000 |
commit | 149adc9cc1b1ffa4b1a37e17deec72b0b6004337 (patch) | |
tree | a758b1d693dbd6574fcadb05631edc0f8570a36b /src/aircraft_gui.cpp | |
parent | 108a0fc0d73c02220354a287d0faa12f160c52c1 (diff) | |
download | openttd-149adc9cc1b1ffa4b1a37e17deec72b0b6004337.tar.xz |
(svn r27689) -Fix: MSVC warnings.
Diffstat (limited to 'src/aircraft_gui.cpp')
-rw-r--r-- | src/aircraft_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_gui.cpp b/src/aircraft_gui.cpp index 20fca9fc5..6693b1f8a 100644 --- a/src/aircraft_gui.cpp +++ b/src/aircraft_gui.cpp @@ -98,7 +98,7 @@ void DrawAircraftImage(const Vehicle *v, int left, int right, int y, VehicleID s int heli_offs = 0; PaletteID pal = (v->vehstatus & VS_CRASHED) ? PALETTE_CRASH : GetVehiclePalette(v); - seq.Draw(x, y + y_offs, pal, v->vehstatus & VS_CRASHED); + seq.Draw(x, y + y_offs, pal, (v->vehstatus & VS_CRASHED) != 0); if (helicopter) { const Aircraft *a = Aircraft::From(v); VehicleSpriteSeq rotor_seq; |