(svn r27689) -Fix: MSVC warnings.

This commit is contained in:
frosch
2016-12-10 14:33:58 +00:00
parent 108a0fc0d7
commit 149adc9cc1
3 changed files with 4 additions and 4 deletions

View File

@@ -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;