diff options
author | est31 <MTest31@outlook.com> | 2015-05-27 13:23:09 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-05-27 13:23:09 +0200 |
commit | 990a96578f20244626b6b9f67f8e79a7e2e614ea (patch) | |
tree | 6dcd55f017dab4b5d64fe6b2a569c525af435bfc /src/serverobject.h | |
parent | 21878c9d5c364faa1f43c84c51804d9b7dbe376f (diff) | |
download | minetest-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/serverobject.h')
-rw-r--r-- | src/serverobject.h | 4 |
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; } |