v0.6.0: fixed a fog of war bug

This commit is contained in:
Evan Debenham 2017-05-22 23:11:12 -04:00
parent cabbed6707
commit 8548392317

View File

@ -122,7 +122,7 @@ public class FogOfWar extends Image {
}
public synchronized void updateFogCell( int cell ){
updateFogArea( cell % mapWidth , cell / mapHeight, 1, 1 );
updateFogArea( cell % mapWidth , cell / mapWidth, 1, 1 );
}
public synchronized void updateFogArea(int x, int y, int w, int h){