mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
refactor: chain two ScenePresence constructors together to eliminate common code. No functional changes
This commit is contained in:
@@ -5190,6 +5190,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
ScriptDialogReplyPacket rdialog = (ScriptDialogReplyPacket)Pack;
|
||||
|
||||
//m_log.DebugFormat("[CLIENT]: Received ScriptDialogReply from {0}", rdialog.Data.ObjectID);
|
||||
|
||||
#region Packet Session and User Check
|
||||
if (m_checkPackets)
|
||||
{
|
||||
@@ -5210,7 +5212,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
args.Type = ChatTypeEnum.Shout;
|
||||
args.Position = new Vector3();
|
||||
args.Scene = Scene;
|
||||
args.Sender = this;
|
||||
args.Sender = this;
|
||||
ChatMessage handlerChatFromClient2 = OnChatFromClient;
|
||||
if (handlerChatFromClient2 != null)
|
||||
handlerChatFromClient2(this, args);
|
||||
|
||||
Reference in New Issue
Block a user