v0.7.4c: fixed fog of war bugs involving distant wards
This commit is contained in:
parent
1ccccd58f8
commit
f3909c0b2e
|
@ -211,6 +211,7 @@ public class WandOfWarding extends Wand {
|
|||
viewDistance++;
|
||||
name = Messages.get(this, "name_" + tier );
|
||||
updateSpriteState();
|
||||
GameScene.updateFog(pos, viewDistance+1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -351,6 +352,7 @@ public class WandOfWarding extends Wand {
|
|||
public void destroy() {
|
||||
super.destroy();
|
||||
Dungeon.observe();
|
||||
GameScene.updateFog(pos, viewDistance+1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -368,7 +370,6 @@ public class WandOfWarding extends Wand {
|
|||
protected void onSelect(int index) {
|
||||
if (index == 0){
|
||||
die(null);
|
||||
Dungeon.observe();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user