diff options
author | truelight <truelight@openttd.org> | 2005-01-10 19:14:05 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-10 19:14:05 +0000 |
commit | b06a91ae256d8cd23208ceaed3f17374aaa3ca06 (patch) | |
tree | 95e3a3abc9d137bb0e57a4478520bed3bffced1b /oldloader.c | |
parent | 472dabbd1b715836d641230c9d4057caabc9e359 (diff) | |
download | openttd-b06a91ae256d8cd23208ceaed3f17374aaa3ca06.tar.xz |
(svn r1469) -Fix: missed one in last commit
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oldloader.c b/oldloader.c index 51320a6ad..459fc8ee9 100644 --- a/oldloader.c +++ b/oldloader.c @@ -743,6 +743,9 @@ static void FixStation(OldStation *o, int num) static void FixDepot(Depot *n, OldDepot *o, int num) { do { + if (o->xy == 0) + continue; + n->town_index = REMAP_TOWN_IDX(o->town); n->xy = o->xy; } while (n++,o++,--num); |