summaryrefslogtreecommitdiff
path: root/town_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'town_gui.c')
-rw-r--r--town_gui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/town_gui.c b/town_gui.c
index 20ed795d4..29f3f3865 100644
--- a/town_gui.c
+++ b/town_gui.c
@@ -414,9 +414,7 @@ static void MakeSortedTownList(void)
if (_town_sort == NULL)
error("Could not allocate memory for the town-sorting-list");
- FOR_ALL_TOWNS(t) {
- if (t->xy != 0) _town_sort[n++] = t;
- }
+ FOR_ALL_TOWNS(t) _town_sort[n++] = t;
_num_town_sort = n;