(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named

This commit is contained in:
rubidium
2010-05-12 19:21:00 +00:00
parent 863ff6522b
commit 93ff7d78e1
11 changed files with 64 additions and 14 deletions

View File

@@ -662,7 +662,7 @@ static bool LoadOldDepot(LoadgameState *ls, int num)
if (!LoadChunk(ls, d, depot_chunk)) return false;
if (d->xy != 0) {
d->town_index = RemapTownIndex(_old_town_index);
d->town = Town::Get(RemapTownIndex(_old_town_index));
} else {
delete d;
}