Removed safe_x(), safe_y(), safe_z() from Zone

This commit is contained in:
Arthur Ice
2014-12-02 20:17:14 -08:00
parent 0275e9646c
commit e64e131c9c
3 changed files with 10 additions and 10 deletions
+5 -3
View File
@@ -488,13 +488,15 @@ void Client::ZonePC(uint32 zoneID, uint32 instance_id, float x, float y, float z
return;
}
iZoneNameLength = strlen(pZoneName);
xyz_heading safePoint;
switch(zm) {
case EvacToSafeCoords:
case ZoneToSafeCoords:
x = zone->safe_x();
y = zone->safe_y();
z = zone->safe_z();
safePoint = zone->GetSafePoint();
x = safePoint.m_X;
y = safePoint.m_Y;
z = safePoint.m_Z;
SetHeading(heading);
break;
case GMSummon: