mirror of https://github.com/OpenTTD/OpenTTD
(svn r4195) - Codechange: Initialize order variables to avoid a compiler warning. These are unused anyway... (smells of r3476-7, but not the same)
parent
3f7eb666ba
commit
1c19e7be00
|
@ -191,6 +191,8 @@ static void DrawOrdersWindow(Window *w)
|
|||
static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)
|
||||
{
|
||||
Order order;
|
||||
order.next = NULL;
|
||||
order.index = 0;
|
||||
|
||||
// check depot first
|
||||
if (_patches.gotodepot) {
|
||||
|
|
Loading…
Reference in New Issue