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
commit11da45ee55957c243854cd78705d81543541c061 (patch)
tree29e703244d28f29c8634b2d30f42b34852fe74bc /src/cheat.cpp
parentc3839648f75ebfdca2f7d95b7d6a2b29445ab1c2 (diff)
downloadopenttd-11da45ee55957c243854cd78705d81543541c061.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;