Use BYTE Win Typedef instead of byte typedef from Minecraft.World

This commit is contained in:
GabsPuNs
2026-05-10 21:03:03 -04:00
parent 20d395b88d
commit 3e7983ab3c
216 changed files with 798 additions and 800 deletions

View File

@@ -2128,7 +2128,7 @@ size_t UIController::RegisterForCallbackId(UIScene *scene)
{
EnterCriticalSection(&m_registeredCallbackScenesCS);
size_t newId = GetTickCount();
newId &= 0xFFFFFF; // Chop off the top byte, we don't need any more accuracy than that
newId &= 0xFFFFFF; // Chop off the top BYTE, we don't need any more accuracy than that
newId |= (scene->getSceneType() << 24); // Add in the scene's type to help keep this unique
m_registeredCallbackScenes[newId] = scene;
LeaveCriticalSection(&m_registeredCallbackScenesCS);