mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 04:43:12 +00:00
(svn r10714) -Fix r10696: MSVC performance warning
This commit is contained in:
parent
5eb4036eb2
commit
94fa0ec289
@ -859,7 +859,7 @@ static void DoDrawVehicle(const Vehicle *v)
|
||||
}
|
||||
|
||||
AddSortableSpriteToDraw(image, pal, v->x_pos + v->x_offs, v->y_pos + v->y_offs,
|
||||
v->sprite_width, v->sprite_height, v->z_height, v->z_pos, v->vehstatus & VS_SHADOW);
|
||||
v->sprite_width, v->sprite_height, v->z_height, v->z_pos, (v->vehstatus & VS_SHADOW) != 0);
|
||||
}
|
||||
|
||||
void ViewportAddVehicles(DrawPixelInfo *dpi)
|
||||
|
Loading…
Reference in New Issue
Block a user