diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/FallingSand.java b/core/src/ru/deadsoftware/cavedroid/game/mobs/FallingSand.java
index 9a383a21315cce839145870231c0e6f9bbb8cb35..a8d9ce27b0ccac5bdd6bf437582f5c1b5e6e29ca 100644 (file)
*/
public FallingSand(float x, float y) {
super(x, y, 16, 16, Direction.LEFT, Type.SAND);
- mMove = new Vector2(0, 1);
+ mVelocity = new Vector2(0, 1);
}
@Override
public void ai(GameWorld gameWorld) {
- if (mMove.isZero()) {
+ if (mVelocity.isZero()) {
gameWorld.setForeMap(getMapX(), getMiddleMapY(), 10);
kill();
}