aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-20 22:39:27 -0800
committermaximius <none@none>2009-11-20 22:39:27 -0800
commite4e61ac99da40cc7856d7dac7d2b3882c162f4f4 (patch)
treea13c44b29cbc08051bee340822aef6e6e627bf2c
parentc16e08faed38c214a88d824d55b1a6a7fca06037 (diff)
*Fix some typos.
--HG-- branch : trunk
-rw-r--r--src/game/Guild.cpp2
-rw-r--r--src/game/Player.cpp2
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;