diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 10:48:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 10:48:15 +0000 |
commit | 966e2738b9c97bb44276ec90ebfa4a202d67d715 (patch) | |
tree | e8ff8f3847b0d29507eeef3450ff752e9b318604 /src/vehicle_gui.cpp | |
parent | f6be61bb3481419a388d9dcdede16c2b5f77c4a2 (diff) | |
download | openttd-966e2738b9c97bb44276ec90ebfa4a202d67d715.tar.xz |
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 03e232205..5bffa340d 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -338,7 +338,7 @@ static void VehicleRefitWndProc(Window *w, WindowEvent *e) WP(w, refit_d).cargo = DrawVehicleRefitWindow(WP(w, refit_d).list, WP(w, refit_d).sel, w->vscroll.pos, w->vscroll.cap, w->resize.step_height); if (WP(w, refit_d).cargo != NULL) { - int32 cost; + CommandCost cost; cost = DoCommand(v->tile, v->index, WP(w, refit_d).cargo->cargo | WP(w, refit_d).cargo->subtype << 8, DC_QUERY_COST, GetCmdRefitVeh(GetVehicle(w->window_number)->type)); |