diff options
author | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
commit | 11da45ee55957c243854cd78705d81543541c061 (patch) | |
tree | 29e703244d28f29c8634b2d30f42b34852fe74bc /src/economy.cpp | |
parent | c3839648f75ebfdca2f7d95b7d6a2b29445ab1c2 (diff) | |
download | openttd-11da45ee55957c243854cd78705d81543541c061.tar.xz |
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index f8d0205b0..d43be165b 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -186,7 +186,7 @@ int UpdateCompanyRatingAndValue(Company *c, bool update) /* Count stations */ { uint num = 0; - const Station* st; + const Station *st; FOR_ALL_STATIONS(st) { if (st->owner == owner) num += CountBits(st->facilities); @@ -856,7 +856,7 @@ Money GetPriceByIndex(uint8 index) } -Pair SetupSubsidyDecodeParam(const Subsidy* s, bool mode) +Pair SetupSubsidyDecodeParam(const Subsidy *s, bool mode) { TileIndex tile; TileIndex tile2; @@ -1033,7 +1033,7 @@ static void FindSubsidyCargoRoute(FoundRoute *fr) static bool CheckSubsidyDuplicate(Subsidy *s) { - const Subsidy* ss; + const Subsidy *ss; for (ss = _subsidies; ss != endof(_subsidies); ss++) { if (s != ss && |