diff options
author | Johannes Schickel | 2006-07-15 13:25:54 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-07-15 13:25:54 +0000 |
commit | 96c97671f56389c0273782d796b54d18c0f5bc4c (patch) | |
tree | d1f4dffa610a6eb098835eb1006d89dcbcee3d30 | |
parent | 4664fdae6b88c059951972a5a409cc6c90d87a11 (diff) | |
download | scummvm-rg350-96c97671f56389c0273782d796b54d18c0f5bc4c.tar.gz scummvm-rg350-96c97671f56389c0273782d796b54d18c0f5bc4c.tar.bz2 scummvm-rg350-96c97671f56389c0273782d796b54d18c0f5bc4c.zip |
Makes usage of themepath over extrapath then loading the gui files.
svn-id: r23504
-rw-r--r-- | gui/ThemeNew.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 908beadc67..e50589f554 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -73,12 +73,12 @@ _lastUsedBitMask(0), _forceRedraw(false), _fonts(), _imageHandles(0), _images(0) clearAll(); } - if (ConfMan.hasKey("extrapath")) - Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath")); - if (ConfMan.hasKey("themepath")) Common::File::addDefaultDirectory(ConfMan.get("themepath")); + if (ConfMan.hasKey("extrapath")) + Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath")); + ImageMan.addArchive(stylefile + ".zip"); if (!_configFile.loadFromFile(stylefile + ".ini")) { |