aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-05-27 13:23:09 +0200
committerest31 <MTest31@outlook.com>2015-05-27 13:23:09 +0200
commit990a96578f20244626b6b9f67f8e79a7e2e614ea (patch)
tree6dcd55f017dab4b5d64fe6b2a569c525af435bfc /src
parent21878c9d5c364faa1f43c84c51804d9b7dbe376f (diff)
downloadminetest-990a96578f20244626b6b9f67f8e79a7e2e614ea.tar.gz
minetest-990a96578f20244626b6b9f67f8e79a7e2e614ea.tar.bz2
minetest-990a96578f20244626b6b9f67f8e79a7e2e614ea.zip
Consistent const string params
Parent commit broke behaviour. Thanks @TeTpaAka for testing the fix.
Diffstat (limited to 'src')
-rw-r--r--src/serverobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 5c4d13e3b..a8ec325a6 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -151,9 +151,9 @@ public:
{}
virtual void setAnimation(v2f frames, float frame_speed, float frame_blend)
{}
- virtual void setBonePosition(std::string bone, v3f position, v3f rotation)
+ virtual void setBonePosition(const std::string &bone, v3f position, v3f rotation)
{}
- virtual void setAttachment(int parent_id, std::string bone, v3f position, v3f rotation)
+ virtual void setAttachment(int parent_id, const std::string &bone, v3f position, v3f rotation)
{}
virtual ObjectProperties* accessObjectProperties()
{ return NULL; }