aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-04-11 23:23:36 +0200
committerStrangerke2014-04-11 23:23:36 +0200
commit03be9bb80742045c3d4e2fa7994622328c06bb0a (patch)
tree9c2e58c929dcc1f6e1ca0954922c21dd347d8c6a /engines
parentad346bbd3be18e7b89f07b981dd3f95e4dfbb594 (diff)
downloadscummvm-rg350-03be9bb80742045c3d4e2fa7994622328c06bb0a.tar.gz
scummvm-rg350-03be9bb80742045c3d4e2fa7994622328c06bb0a.tar.bz2
scummvm-rg350-03be9bb80742045c3d4e2fa7994622328c06bb0a.zip
MADS: Fix check on asset name suffix
Diffstat (limited to 'engines')
-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 47b2763e44..582b80dd8a 100644
--- a/engines/mads/assets.cpp
+++ b/engines/mads/assets.cpp
@@ -32,7 +32,7 @@ namespace MADS {
SpriteAsset::SpriteAsset(MADSEngine *vm, const Common::String &resourceName, int flags) :
_vm(vm) {
Common::String resName = resourceName;
- if (!resName.hasSuffix(".SS"))
+ if (!resName.hasSuffix(".SS") && !resName.hasSuffix(".ss"))
resName += ".SS";
File file(resName);