summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index d5947d934..ce316b1eb 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -50,7 +50,7 @@
#include "resources/loaders/imageloader.h"
#include "utils/gettext.h"
-#include "utils/physfstools.h"
+#include "utils/virtfs.h"
#include "utils/sdlcheckutils.h"
#include "debug.h"
@@ -180,14 +180,14 @@ void Minimap::setMap(const Map *const map)
std::string minimapName = map->getProperty("minimap");
- if (minimapName.empty() && PhysFs::exists(tempname.c_str()))
+ if (minimapName.empty() && VirtFs::exists(tempname.c_str()))
minimapName = tempname;
if (minimapName.empty())
{
tempname = std::string("graphics/minimaps/").append(
map->getFilename()).append(".png");
- if (PhysFs::exists(tempname.c_str()))
+ if (VirtFs::exists(tempname.c_str()))
minimapName = tempname;
}