mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-07 12:59:43 +01:00
(svn r1765) -Fix: on loading, the total amount of towns wasn't reset to zero
This commit is contained in:
parent
777dd99585
commit
0be987391b
@ -1971,6 +1971,8 @@ static void Load_TOWN(void)
|
||||
{
|
||||
int index;
|
||||
|
||||
_total_towns = 0;
|
||||
|
||||
while ((index = SlIterateArray()) != -1) {
|
||||
Town *t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user