aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/assets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/assets.cpp')
-rw-r--r--engines/mads/assets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/assets.cpp b/engines/mads/assets.cpp
index 6ad313ce3e..4c075d054e 100644
--- a/engines/mads/assets.cpp
+++ b/engines/mads/assets.cpp
@@ -82,7 +82,7 @@ SpriteAsset::SpriteAsset(MADSEngine *vm, const Common::String &resourceName, int
_frameCount, frame.x, frame.y, frame.w, frame.h);
}
- frame.frame = MSprite::init(spriteDataStream, Common::Point(frame.x, frame.y),
+ frame.frame = new MSprite(spriteDataStream, Common::Point(frame.x, frame.y),
frame.w, frame.h, false);
_frames.push_back(frame);
}