summaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2013-04-05 01:03:28 -1000
committerPilzAdam <pilzadam@minetest.net>2013-04-05 02:00:59 +0200
commitc5a8448c41e4ea9d33a43cebef61425d4568a46d (patch)
treebd612dd0d2b8e7589f14a2c403b423480af5798d /src/serverobject.h
parent2a0badf2d565ce4bebe2910c88795c0fe51a0341 (diff)
downloadminetest-c5a8448c41e4ea9d33a43cebef61425d4568a46d.tar.gz
minetest-c5a8448c41e4ea9d33a43cebef61425d4568a46d.tar.bz2
minetest-c5a8448c41e4ea9d33a43cebef61425d4568a46d.zip
Allow modifying movement speed, jump height and gravity per-player via the Lua API.
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 7a5b47bd1..13a075a25 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -152,6 +152,8 @@ public:
virtual void setArmorGroups(const ItemGroupList &armor_groups)
{}
+ virtual void setPhysicsOverride(float physics_override_speed, float physics_override_jump, float physics_override_gravity)
+ {}
virtual void setAnimation(v2f frames, float frame_speed, float frame_blend)
{}
virtual void setBonePosition(std::string bone, v3f position, v3f rotation)