(svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open all types of vehicle lists (depending on arguments)
- Also removed some unneeded arguments - this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
This commit is contained in:
@@ -482,7 +482,7 @@ static void OrdersWndProc(Window *w, WindowEvent *e)
|
||||
OrderClick_Transfer(w, v);
|
||||
break;
|
||||
case 11: /* Vehicle with same shared Orders button */
|
||||
ShowVehWithSharedOrders(v, v->type);
|
||||
ShowVehicleListWindow(v);
|
||||
break;
|
||||
case 12:
|
||||
OrderClick_Refit(w, v);
|
||||
|
Reference in New Issue
Block a user