mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
typo IsCanIneract -> IsCanInteract
This commit is contained in:
parent
78a6d084bc
commit
804166739d
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue