1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-06 17:35:14 -05:00

Consistent const string params

Parent commit broke behaviour.
Thanks @TeTpaAka for testing the fix.
This commit is contained in:
est31 2015-05-27 13:23:09 +02:00
parent 21878c9d5c
commit 990a96578f

View File

@ -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; }