v0.7.4c: fixed fog of war bugs involving distant wards

This commit is contained in:
Evan Debenham 2019-08-11 16:00:25 -04:00
parent 1ccccd58f8
commit f3909c0b2e

View File

@ -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();
}
}
});