v0.4.2b: fixed game freezes in certain situations

This commit is contained in:
Evan Debenham 2016-09-14 19:33:12 -04:00
parent ae6d4ad842
commit c6d86f42ab
2 changed files with 3 additions and 3 deletions

View File

@ -432,7 +432,9 @@ public abstract class Char extends Actor {
} }
public void onMotionComplete() { public void onMotionComplete() {
next(); //Does nothing by default
//The main actor thread already accounts for motion,
// so calling next() here isn't necessary (see Actor.process)
} }
public void onAttackComplete() { public void onAttackComplete() {

View File

@ -1400,8 +1400,6 @@ public class Hero extends Char {
public void onMotionComplete() { public void onMotionComplete() {
Dungeon.observe(); Dungeon.observe();
search( false ); search( false );
super.onMotionComplete();
} }
@Override @Override