From 990a96578f20244626b6b9f67f8e79a7e2e614ea Mon Sep 17 00:00:00 2001 From: est31 Date: Wed, 27 May 2015 13:23:09 +0200 Subject: Consistent const string params Parent commit broke behaviour. Thanks @TeTpaAka for testing the fix. --- src/serverobject.h | 4 ++-- 1 file 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; } -- cgit v1.2.3