From 2c6e2a68b78bfe5195c3996e00136fbdafe4d4dd Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 10 Jan 2005 19:14:05 +0000 Subject: [PATCH] (svn r1469) -Fix: missed one in last commit --- oldloader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oldloader.c b/oldloader.c index 51320a6ad1..459fc8ee99 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);