mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Implement PVP regions
This commit is contained in:
@@ -33,6 +33,10 @@ bool WaterMapV2::InLiquid(const glm::vec3& location) const {
|
||||
return InWater(location) || InLava(location);
|
||||
}
|
||||
|
||||
bool WaterMapV2::InPvP(const glm::vec3& location) const {
|
||||
return ReturnRegionType(location) == RegionTypePVP;
|
||||
}
|
||||
|
||||
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