mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Document keymap_toggle_block_bounds, remove unimplemented BLOCK_BOUNDS_MAX (#14722)
This commit is contained in:
@@ -913,7 +913,7 @@ enum Hud::BlockBoundsMode Hud::toggleBlockBounds()
|
||||
{
|
||||
m_block_bounds_mode = static_cast<BlockBoundsMode>(m_block_bounds_mode + 1);
|
||||
|
||||
if (m_block_bounds_mode >= BLOCK_BOUNDS_MAX) {
|
||||
if (m_block_bounds_mode > BLOCK_BOUNDS_NEAR) {
|
||||
m_block_bounds_mode = BLOCK_BOUNDS_OFF;
|
||||
}
|
||||
return m_block_bounds_mode;
|
||||
|
Reference in New Issue
Block a user