summaryrefslogtreecommitdiff
path: root/src/cheat.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/cheat.cpp
parent86d50b6415635d1f1fb87bd62f1e08aa7b8f0033 (diff)
downloadopenttd-28ea38ae5572d99598aa400fb62eb38f5f7ffd7b.tar.xz
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/cheat.cpp')
-rw-r--r--src/cheat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cheat.cpp b/src/cheat.cpp
index 8f18e5bc1..5c6188b4e 100644
--- a/src/cheat.cpp
+++ b/src/cheat.cpp
@@ -15,8 +15,8 @@ void InitializeCheats()
bool CheatHasBeenUsed()
{
/* Cannot use lengthof because _cheats is of type Cheats, not Cheat */
- const Cheat* cht = (Cheat*)&_cheats;
- const Cheat* cht_last = &cht[sizeof(_cheats) / sizeof(Cheat)];
+ const Cheat *cht = (Cheat*)&_cheats;
+ const Cheat *cht_last = &cht[sizeof(_cheats) / sizeof(Cheat)];
for (; cht != cht_last; cht++) {
if (cht->been_used) return true;