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++;
|
viewDistance++;
|
||||||
name = Messages.get(this, "name_" + tier );
|
name = Messages.get(this, "name_" + tier );
|
||||||
updateSpriteState();
|
updateSpriteState();
|
||||||
|
GameScene.updateFog(pos, viewDistance+1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -351,6 +352,7 @@ public class WandOfWarding extends Wand {
|
||||||
public void destroy() {
|
public void destroy() {
|
||||||
super.destroy();
|
super.destroy();
|
||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
|
GameScene.updateFog(pos, viewDistance+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -368,7 +370,6 @@ public class WandOfWarding extends Wand {
|
||||||
protected void onSelect(int index) {
|
protected void onSelect(int index) {
|
||||||
if (index == 0){
|
if (index == 0){
|
||||||
die(null);
|
die(null);
|
||||||
Dungeon.observe();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user