summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-28 20:31:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-28 20:31:09 +0300
commitbb87f2911b63eaf80e49d689bf52ecf2042ae098 (patch)
tree0778087134ec3c5a2370d417bcadb64a1dc6a9bc /src/resources/db
parent4415cb66734e67dfcdf8924d354107d27fb70fee (diff)
downloadmanaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.gz
manaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.bz2
manaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.xz
manaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.zip
Move from resourcemanager functions related to files into other files.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/palettedb.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/db/palettedb.cpp b/src/resources/db/palettedb.cpp
index 09140d55b..1d940f0c1 100644
--- a/src/resources/db/palettedb.cpp
+++ b/src/resources/db/palettedb.cpp
@@ -22,6 +22,8 @@
#include "logger.h"
+#include "utils/files.h"
+
#include "resources/dyecolor.h"
#include "resources/resourcemanager.h"
@@ -48,7 +50,7 @@ void PaletteDB::loadPalette()
{
mLoaded = true;
StringVect lines;
- ResourceManager::loadTextFile("palette.gpl", lines);
+ Files::loadTextFile("palette.gpl", lines);
StringVectCIter it = lines.begin();
if (it == lines.end())
{