Skip to content

Commit 990a965

Browse files
committedMay 27, 2015
Consistent const string params
Parent commit broke behaviour. Thanks @TeTpaAka for testing the fix.
1 parent 21878c9 commit 990a965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/serverobject.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ class ServerActiveObject : public ActiveObject
151151
{}
152152
virtual void setAnimation(v2f frames, float frame_speed, float frame_blend)
153153
{}
154-
virtual void setBonePosition(std::string bone, v3f position, v3f rotation)
154+
virtual void setBonePosition(const std::string &bone, v3f position, v3f rotation)
155155
{}
156-
virtual void setAttachment(int parent_id, std::string bone, v3f position, v3f rotation)
156+
virtual void setAttachment(int parent_id, const std::string &bone, v3f position, v3f rotation)
157157
{}
158158
virtual ObjectProperties* accessObjectProperties()
159159
{ return NULL; }

0 commit comments

Comments
 (0)
Please sign in to comment.