From f25d49f826b7ddfd9ce96beca6f0b0a0a6d82a00 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 25 Mar 2006 19:18:09 +0000 Subject: - Move AddDefaultDirectory() calls in somon engine to constructor - Move AddDefaultDirectory() from NewTheme.cpp to main.cpp svn-id: r21451 --- gui/ThemeNew.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gui/ThemeNew.cpp') diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index dc0bfc0e05..bb822d7e6f 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -131,12 +131,6 @@ _lastUsedBitMask(0), _forceRedraw(false), _font(0), _imageHandles(0), _images(0) } } - if (ConfMan.hasKey("extrapath")) { - Common::File::addDefaultDirectory(ConfMan.get("extrapath")); - } - if (ConfMan.hasKey("themepath")) { - Common::File::addDefaultDirectory(ConfMan.get("themepath")); - } ImageMan.addArchive(stylefile + ".zip"); if (!_configFile.loadFromFile(stylefile + ".ini")) { -- cgit v1.2.3