[8467] Fixed some typos.

This commit is contained in:
AlexDereka 2009-09-04 18:52:11 +04:00
parent d24fd20cc3
commit a65d3a1560
4 changed files with 5 additions and 5 deletions

View file

@ -1480,7 +1480,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;

View file

@ -18673,9 +18673,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;

View file

@ -5106,7 +5106,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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8466" #define REVISION_NR "8467"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__