mirror of
https://github.com/glest/glest-source.git
synced 2025-09-02 04:22:32 +02:00
bugfix for performance enhancement
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user