diff options
-rw-r--r-- | src/game/Guild.cpp | 2 | ||||
-rw-r--r-- | src/game/Player.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Guild.cpp b/src/game/Guild.cpp index 495d64f786f..62b284c9807 100644 --- a/src/game/Guild.cpp +++ b/src/game/Guild.cpp @@ -1995,7 +1995,7 @@ void Guild::SwapItems(Player * pl, uint8 BankTab, uint8 BankTabSlot, uint8 BankT { sLog.outCrash("Guild::SwapItems: Player %s(GUIDLow: %u) tried to move item %u from tab %u slot %u to tab %u slot %u, but item %u has a stack of zero!", pl->GetName(), pl->GetGUIDLow(), pItemSrc->GetEntry(), BankTab, BankTabSlot, BankTabDst, BankTabSlotDst, pItemSrc->GetEntry()); - //return; // Commented out for now, uncomment when it's verified that this causes a crash!! + //return; // Commented out for now, uncomment when it's verified that this causes a crash! } if (SplitedAmount >= pItemSrc->GetCount()) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 87396daba80..7e4c3d9e24d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -3784,7 +3784,7 @@ bool Player::resetTalents(bool no_cost) continue; PlayerTalentMap::const_iterator foundTalent = m_talents[m_activeSpec]->find(i); - if (foundTalent == m_talents[spec]->end() || foundTalent->second->state == PLAYERSPELL_REMOVED) + if (foundTalent == m_talents[m_activeSpec]->end() || foundTalent->second->state == PLAYERSPELL_REMOVED) continue; else foundTalent->second->state = PLAYERSPELL_REMOVED; |