src/openttd.cpp
changeset 8344 1cd2a831b06c
parent 8342 bf710180e7ce
child 8368 dcee6c9440b5
equal deleted inserted replaced
8343:a6b70ddd862b 8344:1cd2a831b06c
  2315 	}
  2315 	}
  2316 
  2316 
  2317 	if (CheckSavegameVersion(86)) {
  2317 	if (CheckSavegameVersion(86)) {
  2318 		/* Now all crossings should be in correct state */
  2318 		/* Now all crossings should be in correct state */
  2319 		for (TileIndex t = 0; t < map_size; t++) {
  2319 		for (TileIndex t = 0; t < map_size; t++) {
  2320 			if (IsLevelCrossingTile(t)) UpdateLevelCrossing(t);
  2320 			if (IsLevelCrossingTile(t)) UpdateLevelCrossing(t, false);
  2321 		}
  2321 		}
  2322 	}
  2322 	}
  2323 
  2323 
  2324 	return InitializeWindowsAndCaches();
  2324 	return InitializeWindowsAndCaches();
  2325 }
  2325 }