summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index ae150b4e2..91ad524c7 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -681,7 +681,7 @@ protected:
/** Set the entities position and last sent position.
Only to be used when the caller will broadcast a teleport or equivalent to clients. */
- void ResetPosition(Vector3d a_NewPos);
+ virtual void ResetPosition(Vector3d a_NewPos);
private: