v2.0.0: fixed waiting not clearing justMoved for shurikens
This commit is contained in:
@@ -722,12 +722,16 @@ public class Hero extends Char {
|
||||
|
||||
@Override
|
||||
public void spend( float time ) {
|
||||
justMoved = false;
|
||||
|
||||
super.spend(time);
|
||||
}
|
||||
|
||||
public void spendAndNextConstant( float time ) {
|
||||
@Override
|
||||
protected void spendConstant(float time) {
|
||||
justMoved = false;
|
||||
super.spendConstant(time);
|
||||
}
|
||||
|
||||
public void spendAndNextConstant(float time ) {
|
||||
busy();
|
||||
spendConstant( time );
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user