|
@@ -518,6 +518,7 @@ void ZoneServer::DeleteData(bool boot_clients){
|
|
|
}
|
|
|
else{
|
|
|
RemoveSpawnSupportFunctions(spawn, true);
|
|
|
+ RemoveSpawnFromGrid(spawn, GetLocation());
|
|
|
AddPendingDelete(spawn);
|
|
|
}
|
|
|
}
|
|
@@ -809,6 +810,7 @@ void ZoneServer::ProcessDepop(bool respawns_allowed, bool repop) {
|
|
|
tmp_player_list.Add(spawn);
|
|
|
else {
|
|
|
RemoveSpawnSupportFunctions(spawn, true);
|
|
|
+ RemoveSpawnFromGrid(spawn, GetLocation());
|
|
|
AddPendingDelete(spawn);
|
|
|
}
|
|
|
}
|