Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
update (anticheat): Added case default
Browse files Browse the repository at this point in the history
  • Loading branch information
acidmanifesto committed Dec 8, 2023
1 parent 92de1bb commit ab142fa
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/server/game/Anticheat/AnticheatMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ void AnticheatMgr::MapSpeedTeleExemption(Player* player)
case 1132: // Transport218599
case 1133: // Transport218600
return;
default:
break;
}
}
}
Expand Down Expand Up @@ -510,6 +512,8 @@ void AnticheatMgr::JumpHackDetection(Player* player, MovementInfo& movementInfo,
case 6724: //Backbreaker Bay
case 6725: //Greymist Firth
return;
default:
break;
}
}

Expand Down Expand Up @@ -567,8 +571,10 @@ void AnticheatMgr::TeleportPlaneHackDetection(Player* player, MovementInfo& move
{
switch (player->GetAreaId())
{
case 4273: //Celestial Planetarium Observer Battle has a narrow path that false flags
return;
case 4273: //Celestial Planetarium Observer Battle has a narrow path that false flags
return;
default:
break;
}
}

Expand Down Expand Up @@ -782,6 +788,8 @@ void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo, Ant
break;
}
return;
default:
break;
}
}

Expand Down

0 comments on commit ab142fa

Please sign in to comment.