forked from mirrors/kolyah35-minecraft-pe-0.6.1
hmmmmmmmmmm
This commit is contained in:
parent
2bfa8f11f1
commit
13c624e07e
1 changed files with 5 additions and 4 deletions
|
|
@ -873,10 +873,11 @@ void Minecraft::tickInput() {
|
|||
if (useTouchscreen()) {
|
||||
// Touch: gesture recognizer classifies the action type (turn/destroy/build)
|
||||
BuildActionIntention bai;
|
||||
if (inputHolder && inputHolder->getBuildInput()->tickBuild(player, &bai)) {
|
||||
handleBuildAction(&bai);
|
||||
} else {
|
||||
gameMode->stopDestroyBlock();
|
||||
bool buildHandled = inputHolder->getBuildInput()->tickBuild(player, &bai);
|
||||
|
||||
if (buildHandled) {
|
||||
if (!bai.isRemoveContinue())
|
||||
handleBuildAction(&bai);
|
||||
}
|
||||
} else {
|
||||
// Desktop: left mouse = destroy/attack
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue