diff options
author | tron <tron@openttd.org> | 2006-08-28 07:33:51 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-08-28 07:33:51 +0000 |
commit | 2eb76813edab81cbc3bcfbd10737979d7d5439f2 (patch) | |
tree | 7bdfd7c5d958ecb70ce91a2e6f5a707140d4f90d /train_gui.c | |
parent | 523519c8ec4db318d151051a9b6281767136f314 (diff) | |
download | openttd-2eb76813edab81cbc3bcfbd10737979d7d5439f2.tar.xz |
(svn r6184) Remove the unused (because it was NULL in all callers) second parameter of FillDrawPixelInfo() and simplify some expressions
Diffstat (limited to 'train_gui.c')
-rw-r--r-- | train_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c index 90177ea62..55af10049 100644 --- a/train_gui.c +++ b/train_gui.c @@ -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; |