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
|
// Once we have calculated fog of war texture alpha, will we cache it so that we
|
||||||
// can restore it later
|
// can restore it later
|
||||||
if(cacheFowAlphaTexture == false) {
|
if(cacheFowAlphaTexture == false && resetFowAlphaFactionCount > 0) {
|
||||||
cacheFowAlphaTexture = true;
|
cacheFowAlphaTexture = true;
|
||||||
cacheFowAlphaTextureFogOfWarValue = fogOfWar;
|
cacheFowAlphaTextureFogOfWarValue = fogOfWar;
|
||||||
minimap.copyFowTexAlphaSurface();
|
minimap.copyFowTexAlphaSurface();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user