mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 11:44:17 +01:00
(svn r13689) [0.6] -Backport from trunk:
- Fix: Server crashing when banning the rconning client (r13661) - Fix: Incorrect usage of strtoul (r13508) - Fix: Crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor [FS#2106] (r13624) - Fix: Division by zero when one would press 'd' (skip order) when there's no order (r13409)
This commit is contained in:
@@ -543,6 +543,7 @@ static void OrdersWndProc(Window *w, WindowEvent *e)
|
||||
assert(w->widget[ORDER_WIDGET_REFIT].bottom == w->widget[ORDER_WIDGET_UNLOAD].bottom);
|
||||
assert(w->widget[ORDER_WIDGET_REFIT].display_flags == w->widget[ORDER_WIDGET_UNLOAD].display_flags);
|
||||
}
|
||||
if (GetVehicle(w->window_number)->num_orders == 0) return;
|
||||
|
||||
if (_patches.timetabling) {
|
||||
w->widget[ORDER_WIDGET_CAPTION].right -= 61;
|
||||
|
||||
Reference in New Issue
Block a user