forked from mirror/OpenTTD
(svn r1612) -Fix: made sure that ->next pointers are set to NULL
This commit is contained in:
@@ -89,6 +89,7 @@ static Order *AllocateOrder(void)
|
||||
uint index = order->index;
|
||||
memset(order, 0, sizeof(Order));
|
||||
order->index = index;
|
||||
order->next = NULL;
|
||||
return order;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user