bugfix for performance enhancement

This commit is contained in:
Mark Vejvoda 2013-11-11 18:34:51 +00:00
parent c98a09b905
commit 07ac33ec99
1 changed files with 1 additions and 1 deletions

View File

@ -2520,7 +2520,7 @@ void World::computeFow() {
// Once we have calculated fog of war texture alpha, will we cache it so that we
// can restore it later
if(cacheFowAlphaTexture == false) {
if(cacheFowAlphaTexture == false && resetFowAlphaFactionCount > 0) {
cacheFowAlphaTexture = true;
cacheFowAlphaTextureFogOfWarValue = fogOfWar;
minimap.copyFowTexAlphaSurface();