mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r4663) - Backport from trunk (r4195):
Codechange: Initialize order variables to avoid a compiler warning.
This commit is contained in:
parent
8bfb955d4b
commit
a32fdb390f
|
@ -191,6 +191,9 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)
|
|||
Order order;
|
||||
int st_index;
|
||||
|
||||
order.next = NULL;
|
||||
order.index = 0;
|
||||
|
||||
// check depot first
|
||||
if (_patches.gotodepot) {
|
||||
switch (GetTileType(tile)) {
|
||||
|
|
Loading…
Reference in New Issue