diff options
Diffstat (limited to 'engines/mads/sprites.cpp')
-rw-r--r-- | engines/mads/sprites.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mads/sprites.cpp b/engines/mads/sprites.cpp index 23360b0a00..321acf026d 100644 --- a/engines/mads/sprites.cpp +++ b/engines/mads/sprites.cpp @@ -355,4 +355,8 @@ int SpriteSets::add(SpriteAsset *asset, int idx) { return idx; } +int SpriteSets::addSprites(const Common::String &resName, int flags) { + return add(new SpriteAsset(_vm, resName, flags)); +} + } // End of namespace MADS |