v2.2.1: fixed animation errors when vertigoed character were teleported

This commit is contained in:
Evan Debenham
2023-10-23 11:20:07 -04:00
parent e4b8f3107f
commit 7fa9f076b4

View File

@@ -287,7 +287,10 @@ public class ScrollOfTeleportation extends Scroll {
}
ch.move( pos, false );
if (ch.pos == pos) ch.sprite.place( pos );
if (ch.pos == pos) {
ch.sprite.interruptMotion();
ch.sprite.place(pos);
}
if (ch.invisible == 0) {
ch.sprite.alpha( 0 );