diff options
Diffstat (limited to 'src/resources/db/palettedb.cpp')
-rw-r--r-- | src/resources/db/palettedb.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/db/palettedb.cpp b/src/resources/db/palettedb.cpp index a3caf62dc..3c7abe6af 100644 --- a/src/resources/db/palettedb.cpp +++ b/src/resources/db/palettedb.cpp @@ -20,6 +20,7 @@ #include "resources/db/palettedb.h" +#include "configuration.h" #include "logger.h" #include "utils/files.h" @@ -48,7 +49,9 @@ void PaletteDB::loadPalette() { mLoaded = true; StringVect lines; - Files::loadTextFile("palette.gpl", lines); + Files::loadTextFile(paths.getStringValue( + "defaultPaletteFile"), + lines); StringVectCIter it = lines.begin(); if (it == lines.end()) { |