v0.4.2b: fixed game freezes in certain situations
This commit is contained in:
parent
ae6d4ad842
commit
c6d86f42ab
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user