v0.6.0: fixed a fog of war bug
This commit is contained in:
parent
cabbed6707
commit
8548392317
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user