chore: Fix use of uninitialized variable in RemoveItemFromInventory (#1540)

This commit is contained in:
jadebenn 2024-04-08 23:50:41 -05:00 committed by GitHub
parent 28ce8ac54d
commit db192d2cde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5290,7 +5290,7 @@ void GameMessages::HandleRemoveItemFromInventory(RakNet::BitStream& inStream, En
bool iLootTypeSourceIsDefault = false;
LWOOBJID iLootTypeSource = LWOOBJID_EMPTY;
bool iObjIDIsDefault = false;
LWOOBJID iObjID;
LWOOBJID iObjID = LWOOBJID_EMPTY;
bool iObjTemplateIsDefault = false;
LOT iObjTemplate = LOT_NULL;
bool iRequestingObjIDIsDefault = false;