mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 18:39:10 +00:00
(svn r4663) - Backport from trunk (r4195):
Codechange: Initialize order variables to avoid a compiler warning.
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user