bugfix for performance enhancement
This commit is contained in:
parent
c98a09b905
commit
07ac33ec99
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue