v2.2.1: fixed animation errors when vertigoed character were teleported
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user