Useless now

This commit is contained in:
Mitachi
2022-05-17 19:12:00 +02:00
parent a784460f3c
commit 26e0f16a68
2 changed files with 0 additions and 12 deletions

View File

@ -18,8 +18,6 @@
// and replace this raw with this: // and replace this raw with this:
#ifdef ENABLE_STONES_STACKFIX #ifdef ENABLE_STONES_STACKFIX
DWORD dwStonesVnum = item->GetVnum();
if (item->GetType() == ITEM_METIN) { if (item->GetType() == ITEM_METIN) {
item->SetCount(item->GetCount() - 1); item->SetCount(item->GetCount() - 1);
pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos)); pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos));
@ -52,8 +50,6 @@
// and replace this raw with this: // and replace this raw with this:
#ifdef ENABLE_STONES_STACKFIX #ifdef ENABLE_STONES_STACKFIX
DWORD dwStonesVnum = item->GetVnum();
if (item->GetType() == ITEM_METIN) { if (item->GetType() == ITEM_METIN) {
item->SetCount(item->GetCount() - 1); item->SetCount(item->GetCount() - 1);
pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos)); pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos));
@ -86,8 +82,6 @@
// and replace this raw with this: // and replace this raw with this:
#ifdef ENABLE_STONES_STACKFIX #ifdef ENABLE_STONES_STACKFIX
DWORD dwStonesVnum = item->GetVnum();
if (item->GetType() == ITEM_METIN) { if (item->GetType() == ITEM_METIN) {
item->SetCount(item->GetCount() - 1); item->SetCount(item->GetCount() - 1);
pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos)); pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos));

View File

@ -943,8 +943,6 @@ bool CHARACTER::DoRefine(LPITEM item, bool bMoneyOnly)
DBManager::instance().SendMoneyLog(MONEY_LOG_REFINE, item->GetVnum(), -cost); DBManager::instance().SendMoneyLog(MONEY_LOG_REFINE, item->GetVnum(), -cost);
#ifdef ENABLE_STONES_STACKFIX #ifdef ENABLE_STONES_STACKFIX
DWORD dwStonesVnum = item->GetVnum();
if (item->GetType() == ITEM_METIN) { if (item->GetType() == ITEM_METIN) {
item->SetCount(item->GetCount() - 1); item->SetCount(item->GetCount() - 1);
pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos)); pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos));
@ -1242,8 +1240,6 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item)
DBManager::instance().SendMoneyLog(MONEY_LOG_REFINE, item->GetVnum(), -prt->cost); DBManager::instance().SendMoneyLog(MONEY_LOG_REFINE, item->GetVnum(), -prt->cost);
#ifdef ENABLE_STONES_STACKFIX #ifdef ENABLE_STONES_STACKFIX
DWORD dwStonesVnum = item->GetVnum();
if (item->GetType() == ITEM_METIN) { if (item->GetType() == ITEM_METIN) {
item->SetCount(item->GetCount() - 1); item->SetCount(item->GetCount() - 1);
pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos)); pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos));
@ -1287,8 +1283,6 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item)
NotifyRefineFail(this, item, szRefineType, -1); NotifyRefineFail(this, item, szRefineType, -1);
#ifdef ENABLE_STONES_STACKFIX #ifdef ENABLE_STONES_STACKFIX
DWORD dwStonesVnum = item->GetVnum();
if (item->GetType() == ITEM_METIN) { if (item->GetType() == ITEM_METIN) {
item->SetCount(item->GetCount() - 1); item->SetCount(item->GetCount() - 1);
pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos)); pkNewItem->AddToCharacter(this, TItemPos(INVENTORY, pos));