1
0
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:
rubidium
2008-07-09 19:30:44 +00:00
parent b95eb99c55
commit fbbd7bef6d
8 changed files with 75 additions and 7 deletions

View File

@@ -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;