mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 05:15:10 +00:00
fix memory errors realted to cache
This commit is contained in:
@@ -17,7 +17,7 @@ namespace RAY {
|
||||
public:
|
||||
//! @brief A Model animation constructor
|
||||
//! @param animationPtr an animation pointer, returned by the nimation-loading function
|
||||
explicit ModelAnimation(::ModelAnimation *animationPtr);
|
||||
explicit ModelAnimation(::ModelAnimation animation);
|
||||
|
||||
//! @brief A default copy-constructor
|
||||
ModelAnimation(const ModelAnimation &) = default;
|
||||
@@ -41,7 +41,7 @@ namespace RAY {
|
||||
~ModelAnimation() = default;
|
||||
|
||||
private:
|
||||
::ModelAnimation *_animation;
|
||||
::ModelAnimation _animation;
|
||||
|
||||
size_t _frameCounter;
|
||||
INTERNAL:
|
||||
|
||||
Reference in New Issue
Block a user