Skip to content

Commit

Permalink
fixup! Rename flight speed related auras
Browse files Browse the repository at this point in the history
  • Loading branch information
sogladev committed Oct 14, 2024
1 parent b7227f6 commit e4c4760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AnticheatMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ void AnticheatMgr::JumpHackDetection(Player* player, MovementInfo movementInfo,

const float ground_Z = movementInfo.pos.GetPositionZ() - player->GetMapHeight(movementInfo.pos.GetPositionX(), movementInfo.pos.GetPositionY(), movementInfo.pos.GetPositionZ());

const bool no_fly_auras = !(player->HasAuraType(SPELL_AURA_FLY) || player->HasAuraType(SPELL_AURA_MOD_FLIGHT_SPEED_ALWAYS)
const bool no_fly_auras = !(player->HasAuraType(SPELL_AURA_FLY) || player->HasAuraType(SPELL_AURA_MOD_INCREASE_FLIGHT_SPEED)
|| player->HasAuraType(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED) || player->HasAuraType(SPELL_AURA_MOD_FLIGHT_SPEED_ALWAYS)
|| player->HasAuraType(SPELL_AURA_MOD_MOUNTED_FLIGHT_SPEED_ALWAYS));
const bool no_fly_flags = ((movementInfo.flags & (MOVEMENTFLAG_CAN_FLY | MOVEMENTFLAG_FLYING)) == 0);
Expand Down

0 comments on commit e4c4760

Please sign in to comment.