From f5ccb177366b8db0024c3bb027d71fdf35a73ed3 Mon Sep 17 00:00:00 2001 From: Tr0n Date: Tue, 9 Apr 2024 16:56:43 +0200 Subject: [PATCH] remove redundant pointer to lucky pouch loot table --- src/game/src/char_item.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;