From bb87f2911b63eaf80e49d689bf52ecf2042ae098 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 May 2014 20:31:09 +0300 Subject: Move from resourcemanager functions related to files into other files. --- src/utils/xml.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/utils/xml.cpp') diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp index 099457af3..3144a03b6 100644 --- a/src/utils/xml.cpp +++ b/src/utils/xml.cpp @@ -27,6 +27,7 @@ #include "resources/resourcemanager.h" #include "utils/fuzzer.h" +#include "utils/physfstools.h" #include "utils/stringutils.h" #include "utils/translation/podict.h" @@ -91,9 +92,7 @@ namespace XML valid = true; if (useResman) { - const ResourceManager *const resman - = ResourceManager::getInstance(); - data = static_cast(resman->loadFile( + data = static_cast(PhysFs::loadFile( filename.c_str(), size)); } else -- cgit v1.2.3-70-g09d2