From 384503e7d37f4b68c1480f6e6ca81adf84ef137d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 27 Dec 2007 13:35:39 +0000 Subject: (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. --- src/group_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/group_gui.cpp') diff --git a/src/group_gui.cpp b/src/group_gui.cpp index d891e3a38..5bcb554a2 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -9,7 +9,6 @@ #include "gui.h" #include "window_gui.h" #include "textbuf_gui.h" -#include "vehicle.h" #include "command_func.h" #include "engine.h" #include "vehicle_gui.h" @@ -21,6 +20,7 @@ #include "strings_func.h" #include "core/alloc_func.hpp" #include "window_func.h" +#include "vehicle_func.h" struct Sorting { @@ -473,7 +473,7 @@ static void GroupWndProc(Window *w, WindowEvent *e) assert(v->type == gv->vehicle_type && v->owner == owner); - DrawVehicleImage(v, x + 19, y2 + 6, w->hscroll.cap, 0, gv->vehicle_sel); + DrawVehicleImage(v, x + 19, y2 + 6, gv->vehicle_sel, w->hscroll.cap, 0); DrawVehicleProfitButton(v, x, y2 + 13); SetDParam(0, v->unitnumber); -- cgit v1.2.3-54-g00ecf