v0.7.2: more bugfixes:
- fixed fetid rat stink cloud persisting in rare cases - fixed hero pressing tiles while teleporting when they're flying
This commit is contained in:
parent
86199bb40f
commit
f3702048be
|
@ -100,7 +100,7 @@ public class ScrollOfTeleportation extends Scroll {
|
|||
}
|
||||
|
||||
appear( hero, pos );
|
||||
Dungeon.level.press( pos, hero );
|
||||
if (!hero.flying) Dungeon.level.press( pos, hero );
|
||||
Dungeon.observe();
|
||||
GameScene.updateFog();
|
||||
|
||||
|
@ -126,7 +126,7 @@ public class ScrollOfTeleportation extends Scroll {
|
|||
GLog.i( Messages.get(ScrollOfTeleportation.class, "tele") );
|
||||
|
||||
appear( hero, pos );
|
||||
Dungeon.level.press( pos, hero );
|
||||
if (!hero.flying) Dungeon.level.press( pos, hero );
|
||||
Dungeon.observe();
|
||||
GameScene.updateFog();
|
||||
|
||||
|
@ -174,7 +174,7 @@ public class ScrollOfTeleportation extends Scroll {
|
|||
int pos = Random.element(candidates);
|
||||
GLog.i( Messages.get(ScrollOfTeleportation.class, "tele") );
|
||||
appear( hero, pos );
|
||||
Dungeon.level.press( pos, hero );
|
||||
if (!hero.flying) Dungeon.level.press( pos, hero );
|
||||
Dungeon.observe();
|
||||
GameScene.updateFog();
|
||||
}
|
||||
|
|
|
@ -74,8 +74,8 @@ public class FetidRatSprite extends MobSprite {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void die() {
|
||||
super.die();
|
||||
public void kill() {
|
||||
super.kill();
|
||||
|
||||
if (cloud != null) {
|
||||
cloud.on = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user