(svn r1469) -Fix: missed one in last commit
authortruelight
Mon, 10 Jan 2005 19:14:05 +0000
changeset 974 11f61fba1afd
parent 973 5352a6b57a2e
child 975 ceb9de61090c
(svn r1469) -Fix: missed one in last commit
oldloader.c
--- a/oldloader.c	Mon Jan 10 19:08:25 2005 +0000
+++ b/oldloader.c	Mon Jan 10 19:14:05 2005 +0000
@@ -743,6 +743,9 @@
 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);