| author | truelight |
| Tue, 01 Feb 2005 18:46:49 +0000 | |
| changeset 1261 | 914ecc20a2df |
| parent 1260 | 632f63689178 |
| child 1262 | e3473b1afda9 |
| town_cmd.c | file | annotate | diff | comparison | revisions |
--- a/town_cmd.c Tue Feb 01 18:32:01 2005 +0000 +++ b/town_cmd.c Tue Feb 01 18:46:49 2005 +0000 @@ -31,7 +31,7 @@ Town *t; FOR_ALL_TOWNS_FROM(t, start_item) - t->index = start_item++; + t->index = start_item++; } /* Initialize the town-pool */ @@ -1971,6 +1971,8 @@ { int index; + _total_towns = 0; + while ((index = SlIterateArray()) != -1) { Town *t;