mirror of https://github.com/OpenTTD/OpenTTD
(svn r1469) -Fix: missed one in last commit
parent
52de6766c7
commit
2c6e2a68b7
|
@ -743,6 +743,9 @@ static void FixStation(OldStation *o, int num)
|
||||||
static void FixDepot(Depot *n, OldDepot *o, int num)
|
static void FixDepot(Depot *n, OldDepot *o, int num)
|
||||||
{
|
{
|
||||||
do {
|
do {
|
||||||
|
if (o->xy == 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
n->town_index = REMAP_TOWN_IDX(o->town);
|
n->town_index = REMAP_TOWN_IDX(o->town);
|
||||||
n->xy = o->xy;
|
n->xy = o->xy;
|
||||||
} while (n++,o++,--num);
|
} while (n++,o++,--num);
|
||||||
|
|
Loading…
Reference in New Issue