diff --git a/src/game/src/char_item.cpp b/src/game/src/char_item.cpp index 057c7e9..0e62d34 100644 --- a/src/game/src/char_item.cpp +++ b/src/game/src/char_item.cpp @@ -2449,7 +2449,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) DWORD count; int prob; DWORD vnum; - } b1[MAX_BAG_INFO] = + } bi[MAX_BAG_INFO] = { { 1000, 302, 1 }, { 10, 150, 27002 }, @@ -2479,8 +2479,6 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { 1, 1, 11882 }, }; - LuckyBagInfo * bi = b1; - int pct = Random::get(1, 1000); int i;