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 | 3306d9829f18d5499e4af1295d45cd03aaffd973 (patch) | |
tree | 7bdfd7c5d958ecb70ce91a2e6f5a707140d4f90d /train_gui.c | |
parent | 4e36c4a349543bf6599559ee36ddfda15c584a6b (diff) | |
download | openttd-3306d9829f18d5499e4af1295d45cd03aaffd973.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; |