From 47d9fae89f649258bc2d038c4bac2ffd0297291f Mon Sep 17 00:00:00 2001
From: scrawl <scrawl@baseoftrash.de>
Date: Fri, 21 Sep 2012 20:35:50 +0200
Subject: [PATCH] don't use cache

---
 apps/openmw/mwrender/globalmap.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/apps/openmw/mwrender/globalmap.cpp b/apps/openmw/mwrender/globalmap.cpp
index be9851baa..5e0a63c77 100644
--- a/apps/openmw/mwrender/globalmap.cpp
+++ b/apps/openmw/mwrender/globalmap.cpp
@@ -48,7 +48,8 @@ namespace MWRender
         mHeight = cellSize*(mMaxY-mMinY+1);
 
 
-        if (!boost::filesystem::exists(mCacheDir + "/GlobalMap.png"))
+        //if (!boost::filesystem::exists(mCacheDir + "/GlobalMap.png"))
+        if (1)
         {
             Ogre::Image image;
 
@@ -151,7 +152,7 @@ namespace MWRender
 
             image.loadDynamicImage (data, mWidth, mHeight, Ogre::PF_B8G8R8);
 
-            image.save (mCacheDir + "/GlobalMap.png");
+            //image.save (mCacheDir + "/GlobalMap.png");
 
             tex = Ogre::TextureManager::getSingleton ().createManual ("GlobalMap.png", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
                 Ogre::TEX_TYPE_2D, mWidth, mHeight, 0, Ogre::PF_B8G8R8, Ogre::TU_DEFAULT);