diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/Player.java b/core/src/ru/deadsoftware/cavedroid/game/mobs/Player.java
index e687a025686d24fa834e4ae90604e1d0a2a193e8..cfa1cd8bb8c0650a4264eebd9be8aff8a534aa24 100644 (file)
public class Player extends Mob {
public final int[] inventory;
- public int slot;
public final int gameMode;
+ public int slot;
public boolean swim;
public Player(int gameMode) {
Assets.playerSprite[0][3].setRotation(0);
Assets.playerSprite[1][3].setRotation(0);
}
- if (Assets.playerSprite[0][2].getRotation() >= 60 || Assets.playerSprite[0][2].getRotation() <= -60)
+ if (Assets.playerSprite[0][2].getRotation() >= 60 || Assets.playerSprite[0][2].getRotation() <= -60) {
animDelta = -animDelta;
+ }
//back hand
Assets.playerSprite[1][2].setPosition(x - 6, y);