v0.4.2b: fixed game freezes in certain situations
This commit is contained in:
@@ -432,7 +432,9 @@ public abstract class Char extends Actor {
|
||||
}
|
||||
|
||||
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() {
|
||||
|
||||
@@ -1400,8 +1400,6 @@ public class Hero extends Char {
|
||||
public void onMotionComplete() {
|
||||
Dungeon.observe();
|
||||
search( false );
|
||||
|
||||
super.onMotionComplete();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user