mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-22 07:53:30 +00:00
hmmmmmmmmmm
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
if (buildHandled) {
|
||||||
|
if (!bai.isRemoveContinue())
|
||||||
handleBuildAction(&bai);
|
handleBuildAction(&bai);
|
||||||
} else {
|
|
||||||
gameMode->stopDestroyBlock();
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Desktop: left mouse = destroy/attack
|
// Desktop: left mouse = destroy/attack
|
||||||
|
|||||||
Reference in New Issue
Block a user