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
+1
View File
@@ -34,6 +34,7 @@ public:
virtual bool InLava(const glm::vec3& location) const = 0;
virtual bool InLiquid(const glm::vec3& location) const = 0;
virtual bool InPvP(const glm::vec3& location) const = 0;
virtual bool InZoneLine(const glm::vec3& location) const = 0;
protected:
virtual bool Load(FILE *fp) { return false; }