From 8831669505905dd9cd415711063f705d8e7ce02c Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 4 Aug 2013 00:45:49 +0300 Subject: Allow mods to listen to cheat detections using minetest.register_on_cheat() --- src/content_sao.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/content_sao.h') 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 -- cgit v1.2.3