mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -427,7 +427,7 @@ class MANGOS_DLL_SPEC Creature : public Unit
|
|||
bool canFly() const { return GetCreatureInfo()->InhabitType & INHABIT_AIR; }
|
||||
///// TODO RENAME THIS!!!!!
|
||||
bool isCanTrainingOf(Player* player, bool msg) const;
|
||||
bool isCanIneractWithBattleMaster(Player* player, bool msg) const;
|
||||
bool isCanInteractWithBattleMaster(Player* player, bool msg) const;
|
||||
bool isCanTrainingAndResetTalentsOf(Player* pPlayer) const;
|
||||
bool IsOutOfThreatArea(Unit* pVictim) const;
|
||||
bool IsImmunedToSpell(SpellEntry const* spellInfo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue