Fixes to OP_ZonePlayerToBind code, esp for RoF clients.

This commit is contained in:
KimLS
2015-02-14 18:32:29 -08:00
parent 75809fc3bb
commit f95e211d9b
7 changed files with 81 additions and 175 deletions
+1 -5
View File
@@ -587,11 +587,7 @@ void Client::ZonePC(uint32 zoneID, uint32 instance_id, float x, float y, float z
// If we are SoF and later and are respawning from hover, we want the real zone ID, else zero to use the old hack.
//
if((GetClientVersionBit() & BIT_SoFAndLater) && (!RuleB(Character, RespawnFromHover) || !IsHoveringForRespawn()))
gmg->bind_zone_id = 0;
else
gmg->bind_zone_id = zoneID;
gmg->bind_zone_id = zoneID;
gmg->x = x;
gmg->y = y;
gmg->z = z;