forked from mirror/OpenTTD
(svn r6184) Remove the unused (because it was NULL in all callers) second parameter of FillDrawPixelInfo() and simplify some expressions
This commit is contained in:
@@ -361,7 +361,7 @@ static void DrawTrainImage(const Vehicle *v, int x, int y, int count, int skip,
|
||||
int highlight_l = 0;
|
||||
int highlight_r = 0;
|
||||
|
||||
if (!FillDrawPixelInfo(&tmp_dpi, NULL, x - 2, y - 1, count + 1, 14)) return;
|
||||
if (!FillDrawPixelInfo(&tmp_dpi, x - 2, y - 1, count + 1, 14)) return;
|
||||
|
||||
count = (count * 8) / _traininfo_vehicle_width;
|
||||
|
||||
|
Reference in New Issue
Block a user