summaryrefslogtreecommitdiff
path: root/src/net/playerhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/playerhandler.h')
-rw-r--r--src/net/playerhandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h
index 23277062..5d94a093 100644
--- a/src/net/playerhandler.h
+++ b/src/net/playerhandler.h
@@ -74,6 +74,12 @@ class PlayerHandler
* Convert the original speed in pixel per tick for internal use.
*/
virtual Vector getPixelsPerTickMoveSpeed(Vector speed, Map *map = 0) = 0;
+
+ /**
+ * Tells whether the client has to use pixel paths.
+ * Return false when tiles-center positions only are to be used.
+ */
+ virtual bool usePixelPrecision() = 0;
};
} // namespace Net