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 | 2c6e2a68b78bfe5195c3996e00136fbdafe4d4dd (patch) | |
tree | 95e3a3abc9d137bb0e57a4478520bed3bffced1b | |
parent | 52de6766c7672a4040989dc33e191c147044df03 (diff) | |
download | openttd-2c6e2a68b78bfe5195c3996e00136fbdafe4d4dd.tar.xz |
(svn r1469) -Fix: missed one in last commit
-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); |