fix fow bug from last commit

This commit is contained in:
nehalmistry 2004-04-24 02:22:43 +00:00
parent 75c1cbdc65
commit 0c4179cab4

View file

@ -902,7 +902,7 @@ global void DrawMapFogOfWar(Viewport* vp, int x, int y)
}
// Update for visibility all tile in viewport
// and 1 tile around viewport (for fog-of-war connection display)
for (my = vp->MapY; my < ey; ++my) {
for (; my < ey; ++my) {
for (mx = sx; mx < ex; ++mx) {
VisibleTable[my * TheMap.Width + mx] = IsTileVisible(ThisPlayer, mx, my);
}