Return to the overworld instance when warping to a buddy

This commit is contained in:
dongresource 2020-12-24 06:05:05 +01:00
parent 44fbb8e81f
commit 959a708176

View File

@ -534,7 +534,8 @@ void BuddyManager::reqBuddyWarp(CNSocket* sock, CNPacketData* data) {
return;
}
PlayerManager::sendPlayerTo(sock, otherPlr->x, otherPlr->y, otherPlr->z);
// otherPlr->instanceID should always be INSTANCE_OVERWORLD at this point
PlayerManager::sendPlayerTo(sock, otherPlr->x, otherPlr->y, otherPlr->z, otherPlr->instanceID);
}
void BuddyManager::emailUpdateCheck(CNSocket* sock, CNPacketData* data) {