mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 19:52:25 +01:00
- last minute bugfix for fog of war for observers
This commit is contained in:
parent
fba29d3002
commit
8f0894e0c9
@ -1104,7 +1104,8 @@ void World::computeFow(int factionIdxToTick) {
|
||||
map.getSurfaceCell(i, j)->setExplored(k, true);
|
||||
|
||||
const Vec2i pos(i,j);
|
||||
Vec2i surfPos= Map::toSurfCoords(pos);
|
||||
//Vec2i surfPos= Map::toSurfCoords(pos);
|
||||
Vec2i surfPos= pos;
|
||||
|
||||
//compute max alpha
|
||||
float maxAlpha= 0.0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user