1
0
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:
Darkvater
2006-05-02 12:47:51 +00:00
parent 8bfb955d4b
commit a32fdb390f

View File

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