v2.0.0: fixed waiting not clearing justMoved for shurikens
This commit is contained in:
@@ -722,11 +722,15 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void spendConstant(float time) {
|
||||||
|
justMoved = false;
|
||||||
|
super.spendConstant(time);
|
||||||
|
}
|
||||||
|
|
||||||
public void spendAndNextConstant(float time ) {
|
public void spendAndNextConstant(float time ) {
|
||||||
busy();
|
busy();
|
||||||
spendConstant( time );
|
spendConstant( time );
|
||||||
|
|||||||
Reference in New Issue
Block a user