Tweak Lair respawns slightly

* Respawn the player in the air, not on the ground
* Do save the player's current instance, just to lessen the chance of
validation not catching stale recall coords.
This commit is contained in:
dongresource 2020-12-15 23:11:10 +01:00
parent d03c4f109f
commit 0dd478b9f0

View File

@ -506,7 +506,8 @@ void NPCManager::handleWarp(CNSocket* sock, int32_t warpId) {
// save Lair entrance coords as a pseudo-Resurrect 'Em
plr->recallX = Warps[warpId].x;
plr->recallY = Warps[warpId].y;
plr->recallZ = Warps[warpId].z;
plr->recallZ = Warps[warpId].z + RESURRECT_HEIGHT;
plr->recallInstance = instanceID;
}
if (plr->iID == plr->iIDGroup && plr->groupCnt == 1)