mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 15:46:37 +00:00
Ask water map if we're in a zoneline to prevent false positives
I don't think this should open up any chance to exploit Trying to use a ZL to go somewhere else is still detected etc This should really cut down on false positives and we really can't see real cheater from all the noise this creates
This commit is contained in:
@@ -37,6 +37,10 @@ bool WaterMapV2::InPvP(const glm::vec3& location) const {
|
||||
return ReturnRegionType(location) == RegionTypePVP;
|
||||
}
|
||||
|
||||
bool WaterMapV2::InZoneLine(const glm::vec3& location) const {
|
||||
return ReturnRegionType(location) == RegionTypeZoneLine;
|
||||
}
|
||||
|
||||
bool WaterMapV2::Load(FILE *fp) {
|
||||
uint32 region_count;
|
||||
if (fread(®ion_count, sizeof(region_count), 1, fp) != 1) {
|
||||
|
||||
Reference in New Issue
Block a user