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