InLava converted to xyz_location

This commit is contained in:
Arthur Ice committed 2014-11-26 19:24:28 -08:00
1 parent d8692c1dc7
commit 29573d7d19
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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));
}