mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
InLava converted to xyz_location
This commit is contained in:
+2
-2
@@ -7635,7 +7635,7 @@ void command_bestz(Client *c, const Seperator *sep) {
|
||||
auto position = xyz_location(c->GetTarget()->GetX(), c->GetTarget()->GetY(), z);
|
||||
RegionType = zone->watermap->ReturnRegionType(position);
|
||||
c->Message(0,"InWater returns %d", zone->watermap->InWater(position));
|
||||
c->Message(0,"InLava returns %d", zone->watermap->InLava(c->GetTarget()->GetX(), c->GetTarget()->GetY(), z));
|
||||
c->Message(0,"InLava returns %d", zone->watermap->InLava(position));
|
||||
|
||||
}
|
||||
else {
|
||||
@@ -7643,7 +7643,7 @@ void command_bestz(Client *c, const Seperator *sep) {
|
||||
auto position = xyz_location(c->GetX(), c->GetY(), z);
|
||||
RegionType = zone->watermap->ReturnRegionType(position);
|
||||
c->Message(0,"InWater returns %d", zone->watermap->InWater(position));
|
||||
c->Message(0,"InLava returns %d", zone->watermap->InLava(c->GetX(), c->GetY(), z));
|
||||
c->Message(0,"InLava returns %d", zone->watermap->InLava(position));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user