diff options
Diffstat (limited to 'src/cheat.cpp')
-rw-r--r-- | src/cheat.cpp | 4 |
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; |