diff --git a/include/ModelAnimation.hpp b/include/ModelAnimation.hpp index 9440df5a..04f5af75 100644 --- a/include/ModelAnimation.hpp +++ b/include/ModelAnimation.hpp @@ -3,6 +3,7 @@ #include #include +#include #include "./raylib.hpp" #include "./raylib-cpp-utils.hpp" @@ -102,6 +103,7 @@ class ModelAnimation : public ::ModelAnimation { frameCount = model.frameCount; bones = model.bones; framePoses = model.framePoses; + std::strcpy(name, model.name); } }; } // namespace raylib