aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 85dee7861d9..c1accd063df 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -2323,7 +2323,7 @@ void Player::SetInWater(bool apply)
// remove auras that need water/land
RemoveAurasWithInterruptFlags(apply ? AURA_INTERRUPT_FLAG_NOT_ABOVEWATER : AURA_INTERRUPT_FLAG_NOT_UNDERWATER);
- getHostilRefManager().updateThreatTables();
+ getHostileRefManager().updateThreatTables();
}
void Player::SetGameMaster(bool on)
@@ -2337,13 +2337,13 @@ void Player::SetGameMaster(bool on)
if (Pet* pet = GetPet())
{
pet->setFaction(35);
- pet->getHostilRefManager().setOnlineOfflineState(false);
+ pet->getHostileRefManager().setOnlineOfflineState(false);
}
RemoveByteFlag(UNIT_FIELD_BYTES_2, 1, UNIT_BYTE2_FLAG_FFA_PVP);
ResetContestedPvP();
- getHostilRefManager().setOnlineOfflineState(false);
+ getHostileRefManager().setOnlineOfflineState(false);
CombatStopWithPets();
SetPhaseMask(PHASEMASK_ANYWHERE,false); // see and visible in all phases
@@ -2361,7 +2361,7 @@ void Player::SetGameMaster(bool on)
if (Pet* pet = GetPet())
{
pet->setFaction(getFaction());
- pet->getHostilRefManager().setOnlineOfflineState(true);
+ pet->getHostileRefManager().setOnlineOfflineState(true);
}
// restore FFA PvP Server state
@@ -2371,7 +2371,7 @@ void Player::SetGameMaster(bool on)
// restore FFA PvP area state, remove not allowed for GM mounts
UpdateArea(m_areaUpdateId);
- getHostilRefManager().setOnlineOfflineState(true);
+ getHostileRefManager().setOnlineOfflineState(true);
}
UpdateObjectVisibility();
@@ -18909,7 +18909,7 @@ void Player::CleanupAfterTaxiFlight()
m_taxi.ClearTaxiDestinations(); // not destinations, clear source node
Unmount();
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_TAXI_FLIGHT);
- getHostilRefManager().setOnlineOfflineState(true);
+ getHostileRefManager().setOnlineOfflineState(true);
}
void Player::ContinueTaxiFlight()