1
0
Fork 0

(svn r4195) - Codechange: Initialize order variables to avoid a compiler warning. These are unused anyway... (smells of r3476-7, but not the same)

release/0.5
peter1138 2006-03-31 09:08:02 +00:00
parent 3f7eb666ba
commit 1c19e7be00
1 changed files with 2 additions and 0 deletions

View File

@ -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) {