diff options
author | smatz <smatz@openttd.org> | 2009-06-26 13:46:23 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-26 13:46:23 +0000 |
commit | af78d6a9bbc4142958f07b8774ef28d0b7c22f49 (patch) | |
tree | 02804d2fbc7cf3e533df70db46fb426bc8678824 /src/saveload | |
parent | e6a165881cba611a4475db21068d64caa67796ea (diff) | |
download | openttd-af78d6a9bbc4142958f07b8774ef28d0b7c22f49.tar.xz |
(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/town_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/town_sl.cpp b/src/saveload/town_sl.cpp index 2667997f0..98264382a 100644 --- a/src/saveload/town_sl.cpp +++ b/src/saveload/town_sl.cpp @@ -42,7 +42,7 @@ void UpdateHousesAndTowns() SetHouseType(t, house_id); } - town = GetTownByTile(t); + town = Town::GetByTile(t); IncreaseBuildingCount(town, house_id); if (IsHouseCompleted(t)) town->population += GetHouseSpecs(house_id)->population; |