From a5f6150b451a9bb7b2bea4fc80402315c5549d1a Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Wed, 9 Dec 2020 03:55:46 -0800 Subject: [PATCH] Fix for webclient again C from 1999 --- src/Block.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Block.h b/src/Block.h index 964282ff7..a47ec56d7 100644 --- a/src/Block.h +++ b/src/Block.h @@ -156,4 +156,7 @@ extern cc_bool AutoRotate_Enabled; /* Attempts to find the rotated block based on the user's orientation and offset on selected block. */ /* If no rotated block is found, returns given block. */ BlockID AutoRotate_RotateBlock(BlockID block); +/* Attempts to pick a single consistent block from the auto-rotate set that the given block is part of */ +/* If no rotated block is found, returns given block. */ +BlockID AutoRotate_PickBlock(BlockID block); #endif