v0.5.0: fixed fog of war cell updating overriding other updates
This commit is contained in:
parent
3273092691
commit
1c62066492
|
@ -120,7 +120,7 @@ public class FogOfWar extends Image {
|
|||
}
|
||||
|
||||
public synchronized void updateFogCell( int cell ){
|
||||
updated.set( cell % mapWidth , cell / mapHeight, (cell % mapWidth)+1, (cell / mapHeight)+1 );
|
||||
updateFogArea( cell % mapWidth , cell / mapHeight, 1, 1 );
|
||||
}
|
||||
|
||||
public synchronized void updateFogArea(int x, int y, int w, int h){
|
||||
|
|
Loading…
Reference in New Issue
Block a user