From 78ecd1d2e320c07399625c665eeb253a40a67a1f Mon Sep 17 00:00:00 2001 From: aboudnic6-debug Date: Sun, 8 Mar 2026 21:06:04 +0000 Subject: [PATCH] Update Minecraft_Macros.h --- Minecraft.Client/Common/Minecraft_Macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/Common/Minecraft_Macros.h b/Minecraft.Client/Common/Minecraft_Macros.h index 4f1f096a..f13f2dd5 100644 --- a/Minecraft.Client/Common/Minecraft_Macros.h +++ b/Minecraft.Client/Common/Minecraft_Macros.h @@ -12,7 +12,7 @@ // uiCount is up to 64, but can't ever be 0, so to make it 6 bits, subtract one from the packing, and add one on the unpacking #define MAKE_SLOTDISPLAY_DATA_BITMASK(uiUserIndex,uiAlpha,bDecorations,uiCount,uiScale,uiPopTime) ((((uiUserIndex&0x7)<<29) | (uiAlpha&0x1F)<<24) | (bDecorations?0x800000:0) | ((uiPopTime&0x7)<<20) | ((uiCount-1)<<6) | (uiScale&0x3F)) -#define GET_SLOTDISPLAY_USERINDEX_FROM_DATA_BITMASK(uiBitmask) ((((unsigned int)uiBitmask)>>29)&0x7) +#define GET_SLOTDISPLAY_USERINDEX_FROM_DATA_BITMASK(uiBitmask) ((((unsigned int)uiBitmask)>>29)&0x7) //shaggers #define GET_SLOTDISPLAY_ALPHA_FROM_DATA_BITMASK(uiBitmask) ((((unsigned int)uiBitmask)>>24)&0x1F) #define GET_SLOTDISPLAY_DECORATIONS_FROM_DATA_BITMASK(uiBitmask) ((((unsigned int)uiBitmask)&0x800000)?true:false) //#define GET_SLOTDISPLAY_AUXVAL_FROM_DATA_BITMASK(uiBitmask) ((((unsigned long)uiBitmask)>>12)&0x7FF)