*[8467] Fixed some typos. Author: AlexDereka

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-11 14:43:26 -07:00
parent c22a6c7844
commit cf43024951
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
View File
@@ -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;
+1 -1
View File
@@ -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;