*[8467] Fixed some typos. Author: AlexDereka
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -1577,7 +1577,7 @@ valid examples:
|
|||||||
bool foundName = false;
|
bool foundName = false;
|
||||||
for(uint8 i=0; i<MAX_LOCALE; ++i)
|
for(uint8 i=0; i<MAX_LOCALE; ++i)
|
||||||
{
|
{
|
||||||
if (*linkedAchievement->name[i], strcmp(linkedAchievement->name[i], buffer) == 0)
|
if (*linkedAchievement->name[i] && strcmp(linkedAchievement->name[i], buffer) == 0)
|
||||||
{
|
{
|
||||||
foundName = true;
|
foundName = true;
|
||||||
break;
|
break;
|
||||||
|
|||||||
+2
-2
@@ -19867,9 +19867,9 @@ void Player::UpdateForQuestWorldObjects()
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
SpellClickInfoMapBounds clickPair = objmgr.GetSpellClickInfoMapBounds(obj->GetEntry());
|
SpellClickInfoMapBounds clickPair = objmgr.GetSpellClickInfoMapBounds(obj->GetEntry());
|
||||||
for(SpellClickInfoMap::const_iterator itr = clickPair.first; itr != clickPair.second; ++itr)
|
for(SpellClickInfoMap::const_iterator _itr = clickPair.first; _itr != clickPair.second; ++_itr)
|
||||||
{
|
{
|
||||||
if(itr->second.questStart || itr->second.questEnd)
|
if(_itr->second.questStart || _itr->second.questEnd)
|
||||||
{
|
{
|
||||||
obj->BuildCreateUpdateBlockForPlayer(&udata,this);
|
obj->BuildCreateUpdateBlockForPlayer(&udata,this);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -4804,7 +4804,7 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case 55693: // Remove Collapsing Cave Aura
|
case 55693: // Remove Collapsing Cave Aura
|
||||||
if(unitTarget)
|
if(!unitTarget)
|
||||||
return;
|
return;
|
||||||
unitTarget->RemoveAurasDueToSpell(m_spellInfo->CalculateSimpleValue(effIndex));
|
unitTarget->RemoveAurasDueToSpell(m_spellInfo->CalculateSimpleValue(effIndex));
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user