equal
deleted
inserted
replaced
220 w = AllocateWindowDesc(&_roadveh_details_desc); |
220 w = AllocateWindowDesc(&_roadveh_details_desc); |
221 w->window_number = veh; |
221 w->window_number = veh; |
222 w->caption_color = v->owner; |
222 w->caption_color = v->owner; |
223 } |
223 } |
224 |
224 |
225 void CcCloneRoadVeh(bool success, uint tile, uint32 p1, uint32 p2) |
225 void CcCloneRoadVeh(bool success, TileIndex tile, uint32 p1, uint32 p2) |
226 { |
226 { |
227 if (success) ShowRoadVehViewWindow(GetVehicle(_new_roadveh_id)); |
227 if (success) ShowRoadVehViewWindow(GetVehicle(_new_roadveh_id)); |
228 } |
228 } |
229 |
229 |
230 static void RoadVehViewWndProc(Window *w, WindowEvent *e) |
230 static void RoadVehViewWndProc(Window *w, WindowEvent *e) |