mirror of
https://github.com/opensim/opensim.git
synced 2026-05-30 14:17:12 +08:00
Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
This commit is contained in:
@@ -467,13 +467,13 @@ namespace OpenSim.Region.ClientStack
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public void SendTeleportCancel()
|
||||
public void SendTeleportFailed()
|
||||
{
|
||||
TeleportCancelPacket tpCancel = new TeleportCancelPacket();
|
||||
tpCancel.Info.SessionID = m_sessionId;
|
||||
tpCancel.Info.AgentID = AgentId;
|
||||
TeleportFailedPacket tpFailed = new TeleportFailedPacket();
|
||||
tpFailed.Info.AgentID = this.AgentId;
|
||||
tpFailed.Info.Reason = Helpers.StringToField("unknown failure of teleport");
|
||||
|
||||
OutPacket(tpCancel, ThrottleOutPacketType.Task);
|
||||
OutPacket(tpFailed, ThrottleOutPacketType.Task);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user