summaryrefslogtreecommitdiff
path: root/src/rollback_interface.h
diff options
context:
space:
mode:
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