summaryrefslogtreecommitdiff
path: root/src/rollback_interface.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-27 14:52:29 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-27 14:52:29 +0300
commit7ef0a13250dfd0e153d485e8b3a8084327a81f52 (patch)
tree89eb84baf24ff79f99b9f53dcb14fe3f7bbbfc5c /src/rollback_interface.h
parent0de3fb786daf6d332b4022d18177d1ca0316532e (diff)
downloadminetest-7ef0a13250dfd0e153d485e8b3a8084327a81f52.tar.gz
minetest-7ef0a13250dfd0e153d485e8b3a8084327a81f52.tar.bz2
minetest-7ef0a13250dfd0e153d485e8b3a8084327a81f52.zip
Tweak rollback stuff
Diffstat (limited to 'src/rollback_interface.h')
-rw-r--r--src/rollback_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rollback_interface.h b/src/rollback_interface.h
index ac8368f4e..119379ae7 100644
--- a/src/rollback_interface.h
+++ b/src/rollback_interface.h
@@ -124,7 +124,8 @@ public:
virtual std::string getActor() = 0;
virtual bool isActorGuess() = 0;
virtual void setActor(const std::string &actor, bool is_guess) = 0;
- virtual std::string getSuspect(v3s16 p, int max_time) = 0;
+ // nearness_shortcut: 100 = same second, same node; 90 = 10s or 10 nodes
+ virtual std::string getSuspect(v3s16 p, int max_time, float nearness_shortcut=98) = 0;
};
class RollbackScopeActor