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
|
@Override
|
||||||
public void spend( float time ) {
|
public void spend( float time ) {
|
||||||
justMoved = false;
|
|
||||||
|
|
||||||
super.spend(time);
|
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();
|
busy();
|
||||||
spendConstant( time );
|
spendConstant( time );
|
||||||
next();
|
next();
|
||||||
|
|||||||
Reference in New Issue
Block a user