summaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2013-08-04 00:45:49 +0300
committerPerttu Ahola <celeron55@gmail.com>2013-08-04 00:45:49 +0300
commit8831669505905dd9cd415711063f705d8e7ce02c (patch)
treee3732284d445a143909294265d4b2742e68cfc19 /src/content_sao.h
parent742614180cbbe598694a48bd9eb6f7b97a762243 (diff)
downloadminetest-8831669505905dd9cd415711063f705d8e7ce02c.tar.gz
minetest-8831669505905dd9cd415711063f705d8e7ce02c.tar.bz2
minetest-8831669505905dd9cd415711063f705d8e7ce02c.zip
Allow mods to listen to cheat detections using minetest.register_on_cheat()
Diffstat (limited to 'src/content_sao.h')
-rw-r--r--src/content_sao.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index 9640e5f08..413fd3e68 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -262,7 +262,8 @@ public:
{
return m_dig_pool;
}
- void checkMovementCheat();
+ // Returns true if cheated
+ bool checkMovementCheat();
// Other