mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 11:29:44 +00:00
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()) {
|
if (useTouchscreen()) {
|
||||||
// Touch: gesture recognizer classifies the action type (turn/destroy/build)
|
// Touch: gesture recognizer classifies the action type (turn/destroy/build)
|
||||||
BuildActionIntention bai;
|
BuildActionIntention bai;
|
||||||
if (inputHolder && inputHolder->getBuildInput()->tickBuild(player, &bai)) {
|
bool buildHandled = inputHolder->getBuildInput()->tickBuild(player, &bai);
|
||||||
handleBuildAction(&bai);
|
|
||||||
} else {
|
if (buildHandled) {
|
||||||
gameMode->stopDestroyBlock();
|
if (!bai.isRemoveContinue())
|
||||||
|
handleBuildAction(&bai);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Desktop: left mouse = destroy/attack
|
// Desktop: left mouse = destroy/attack
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue