- last minute bugfix for fog of war for observers

This commit is contained in:
Mark Vejvoda 2010-09-04 01:32:50 +00:00
parent fba29d3002
commit 8f0894e0c9

View File

@ -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;