summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-23 21:31:00 +0000
committerrubidium <rubidium@openttd.org>2013-11-23 21:31:00 +0000
commit5049e938f5e78726352217ab7b6eba2465f030a1 (patch)
treef14981bb5bab743fc9843ca5d1a0f8e43c2b87c1 /src/newgrf_house.cpp
parent2f51639af8285dec2acb5a606ec4b6976acb6b3c (diff)
downloadopenttd-5049e938f5e78726352217ab7b6eba2465f030a1.tar.xz
(svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r--src/newgrf_house.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index e54a97685..9a7ff4444 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -199,10 +199,10 @@ static uint32 GetNearbyTileInformation(byte parameter, TileIndex tile, bool grf_
}
/** Structure with user-data for SearchNearbyHouseXXX - functions */
-typedef struct {
+struct SearchNearbyHouseData {
const HouseSpec *hs; ///< Specs of the house that started the search.
TileIndex north_tile; ///< Northern tile of the house.
-} SearchNearbyHouseData;
+};
/**
* Callback function to search a house by its HouseID