Skip to content
Permalink
Browse files

Consistent const string params

Parent commit broke behaviour.
Thanks @TeTpaAka for testing the fix.
  • Loading branch information
est31 committed May 27, 2015
1 parent 21878c9 commit 990a96578f20244626b6b9f67f8e79a7e2e614ea
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/serverobject.h
@@ -151,9 +151,9 @@ class ServerActiveObject : public ActiveObject
{}
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; }

0 comments on commit 990a965

Please sign in to comment.