mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 20:12:40 +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
|
||||
// can restore it later
|
||||
if(cacheFowAlphaTexture == false) {
|
||||
if(cacheFowAlphaTexture == false && resetFowAlphaFactionCount > 0) {
|
||||
cacheFowAlphaTexture = true;
|
||||
cacheFowAlphaTextureFogOfWarValue = fogOfWar;
|
||||
minimap.copyFowTexAlphaSurface();
|
||||
|
Reference in New Issue
Block a user