summaryrefslogtreecommitdiff
path: root/src/cheat.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 22:17:15 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 22:17:15 +0000
commit6c9078fd30097b38537a60fbecb9828da69c3517 (patch)
tree6601ea8e21edd22b54d054d94cd9c129f8162458 /src/cheat.cpp
parentd89095b3ecb9c326e169db33294efac9b818276a (diff)
downloadopenttd-6c9078fd30097b38537a60fbecb9828da69c3517.tar.xz
(svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c].
Diffstat (limited to 'src/cheat.cpp')
-rw-r--r--src/cheat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cheat.cpp b/src/cheat.cpp
index a7e967a98..a0df14982 100644
--- a/src/cheat.cpp
+++ b/src/cheat.cpp
@@ -19,6 +19,10 @@ void InitializeCheats()
memset(&_cheats, 0, sizeof(Cheats));
}
+/**
+ * Return true if any cheat has been used, false otherwise
+ * @return has a cheat been used?
+ */
bool CheatHasBeenUsed()
{
/* Cannot use lengthof because _cheats is of type Cheats, not Cheat */