summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
committerrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
commit28ea38ae5572d99598aa400fb62eb38f5f7ffd7b (patch)
tree29e703244d28f29c8634b2d30f42b34852fe74bc /src/industry_cmd.cpp
parent86d50b6415635d1f1fb87bd62f1e08aa7b8f0033 (diff)
downloadopenttd-28ea38ae5572d99598aa400fb62eb38f5f7ffd7b.tar.xz
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index fa4800eba..49934af40 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1350,7 +1350,7 @@ static bool CheckCanTerraformSurroundingTiles(TileIndex tile, uint height, int i
* This function tries to flatten out the land below an industry, without
* damaging the surroundings too much.
*/
-static bool CheckIfCanLevelIndustryPlatform(TileIndex tile, uint32 flags, const IndustryTileTable* it, int type)
+static bool CheckIfCanLevelIndustryPlatform(TileIndex tile, uint32 flags, const IndustryTileTable *it, int type)
{
const int MKEND = -0x80; // used for last element in an IndustryTileTable (see build_industry.h)
int max_x = 0;
@@ -1984,7 +1984,7 @@ static void CanCargoServiceIndustry(CargoID cargo, Industry *ind, bool *c_accept
* service the industry, and 1 otherwise (only competitors can service the
* industry)
*/
-int WhoCanServiceIndustry(Industry* ind)
+int WhoCanServiceIndustry(Industry *ind)
{
/* Find all stations within reach of the industry */
StationSet stations = FindStationsAroundTiles(ind->xy, ind->width, ind->height);