v2.5.4: fixed beacon of returning placing hero into closed doors
This commit is contained in:
+3
-1
@@ -302,12 +302,14 @@ public class ScrollOfTeleportation extends Scroll {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//just plays the VFX for teleporting, without any position changes
|
//just plays the VFX for teleporting, without any position changes, does re-press cells though
|
||||||
public static void appearVFX( Char ch ){
|
public static void appearVFX( Char ch ){
|
||||||
if (Dungeon.level.heroFOV[ch.pos]){
|
if (Dungeon.level.heroFOV[ch.pos]){
|
||||||
Sample.INSTANCE.play(Assets.Sounds.TELEPORT);
|
Sample.INSTANCE.play(Assets.Sounds.TELEPORT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Dungeon.level.occupyCell(ch);
|
||||||
|
|
||||||
if (ch.invisible == 0) {
|
if (ch.invisible == 0) {
|
||||||
ch.sprite.alpha( 0 );
|
ch.sprite.alpha( 0 );
|
||||||
ch.sprite.parent.add( new AlphaTweener( ch.sprite, 1, 0.4f ) );
|
ch.sprite.parent.add( new AlphaTweener( ch.sprite, 1, 0.4f ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user