DEADSOFTWARE

Remove meta map
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / GameInput.java
index e177f40cf043e410458884c8b316650f99a56638..2e54ad3ee1f29f921b34331a45593ce4255f82cd 100644 (file)
@@ -121,12 +121,13 @@ public class GameInput {
             }
         } else if (CaveGame.STATE == AppState.GAME_CREATIVE_INV) {
             CaveGame.STATE = AppState.GAME_PLAY;
+        } else {
+            gameProc.touchDownTime = TimeUtils.millis();
+            gameProc.isTouchDown = true;
+            gameProc.touchDownButton = button;
         }
         gameProc.touchDownX = screenX;
         gameProc.touchDownY = screenY;
-        gameProc.touchDownTime = TimeUtils.millis();
-        gameProc.isTouchDown = true;
-        gameProc.touchDownButton = button;
     }
 
     public void touchUp(int screenX, int screenY, int button) {