Fixes to OP_ZonePlayerToBind code, esp for RoF clients.

This commit is contained in:
KimLS committed 2015-02-14 18:32:49 -08:00
1 parent 75809fc3bb
commit f95e211d9b
7 files changed
+81 -175

No files matched your search

+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;