(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
This commit is contained in:
@@ -489,7 +489,7 @@ public:
|
||||
/* Depots refer to towns. */
|
||||
const Depot *d;
|
||||
FOR_ALL_DEPOTS(d) {
|
||||
if (d->town_index == this->town->index) return false;
|
||||
if (d->town == this->town) return false;
|
||||
}
|
||||
|
||||
/* Check all tiles for town ownership. */
|
||||
|
Reference in New Issue
Block a user