mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r6519) -Code cleanup r6518: changed a line to apply to the coding style
This commit is contained in:
parent
502e6d4c7f
commit
98c23dac75
@ -294,8 +294,7 @@ static void VehicleRefitWndProc(Window *w, WindowEvent *e)
|
||||
case VEH_Ship: command = CMD_REFIT_SHIP | CMD_MSG(STR_9841_CAN_T_REFIT_SHIP); break;
|
||||
case VEH_Aircraft: command = CMD_REFIT_AIRCRAFT | CMD_MSG(STR_A042_CAN_T_REFIT_AIRCRAFT); break;
|
||||
}
|
||||
if (DoCommandP(v->tile, v->index, WP(w,refit_d).cargo, NULL, command))
|
||||
DeleteWindow(w);
|
||||
if (DoCommandP(v->tile, v->index, WP(w,refit_d).cargo, NULL, command)) DeleteWindow(w);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user