forked from mirror/OpenTTD
(svn r1765) -Fix: on loading, the total amount of towns wasn't reset to zero
This commit is contained in:
@@ -1971,6 +1971,8 @@ static void Load_TOWN(void)
|
|||||||
{
|
{
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
|
_total_towns = 0;
|
||||||
|
|
||||||
while ((index = SlIterateArray()) != -1) {
|
while ((index = SlIterateArray()) != -1) {
|
||||||
Town *t;
|
Town *t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user