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:
Michael Cook (mackal)
2016-08-05 01:07:12 -04:00
parent 68df09a570
commit 6a7ea65dd0
6 changed files with 14 additions and 1 deletions
+4
View File
@@ -34,6 +34,10 @@ bool WaterMapV1::InPvP(const glm::vec3& location) const {
return ReturnRegionType(location) == RegionTypePVP;
}
bool WaterMapV1::InZoneLine(const glm::vec3& location) const {
return ReturnRegionType(location) == RegionTypeZoneLine;
}
bool WaterMapV1::Load(FILE *fp) {
uint32 bsp_tree_size;
if (fread(&bsp_tree_size, sizeof(bsp_tree_size), 1, fp) != 1) {