typo IsCanIneract -> IsCanInteract

This commit is contained in:
balrok 2009-01-24 18:57:33 +01:00 committed by VladimirMangos
parent 78a6d084bc
commit 804166739d
2 changed files with 4 additions and 4 deletions

View file

@ -649,7 +649,7 @@ bool Creature::isCanTrainingOf(Player* pPlayer, bool msg) const
return true;
}
bool Creature::isCanIneractWithBattleMaster(Player* pPlayer, bool msg) const
bool Creature::isCanInteractWithBattleMaster(Player* pPlayer, bool msg) const
{
if(!isBattleMaster())
return false;
@ -754,7 +754,7 @@ void Creature::prepareGossipMenu( Player *pPlayer,uint32 gossipid )
return;
break;
case GOSSIP_OPTION_BATTLEFIELD:
if(!isCanIneractWithBattleMaster(pPlayer,false))
if(!isCanInteractWithBattleMaster(pPlayer,false))
cantalking=false;
break;
case GOSSIP_OPTION_SPIRITGUIDE:
@ -802,7 +802,7 @@ void Creature::prepareGossipMenu( Player *pPlayer,uint32 gossipid )
}
if(HasFlag(UNIT_NPC_FLAGS,UNIT_NPC_FLAG_BATTLEMASTER))
{
isCanIneractWithBattleMaster(pPlayer,true); // output error message if need
isCanInteractWithBattleMaster(pPlayer,true); // output error message if need
}
}
}