aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-01-17 23:32:37 +0000
committerJustin Clark-Casey (justincc)2014-01-17 23:32:37 +0000
commit9fefbcf7fc5e8767030757da7ab077fa96cc0904 (patch)
tree38da067a835ee80c902a83ee1baf6389fed2180d /OpenSim/Region/CoreModules
parentReorder checks in SP.CompleteMovement() to fix test failures (diff)
downloadopensim-SC_OLD-9fefbcf7fc5e8767030757da7ab077fa96cc0904.zip
opensim-SC_OLD-9fefbcf7fc5e8767030757da7ab077fa96cc0904.tar.gz
opensim-SC_OLD-9fefbcf7fc5e8767030757da7ab077fa96cc0904.tar.bz2
opensim-SC_OLD-9fefbcf7fc5e8767030757da7ab077fa96cc0904.tar.xz
minor: since structs are values, assigning them to another variable copies it. Instantiation is unnecessary.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 246b253..5fea0cf 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1385,7 +1385,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1385 public GridRegion GetDestination(Scene scene, UUID agentID, Vector3 pos, out uint xDest, out uint yDest, out string version, out Vector3 newpos) 1385 public GridRegion GetDestination(Scene scene, UUID agentID, Vector3 pos, out uint xDest, out uint yDest, out string version, out Vector3 newpos)
1386 { 1386 {
1387 version = String.Empty; 1387 version = String.Empty;
1388 newpos = new Vector3(pos.X, pos.Y, pos.Z); 1388 newpos = pos;
1389 1389
1390// m_log.DebugFormat( 1390// m_log.DebugFormat(
1391// "[ENTITY TRANSFER MODULE]: Crossing agent {0} at pos {1} in {2}", agent.Name, pos, scene.Name); 1391// "[ENTITY TRANSFER MODULE]: Crossing agent {0} at pos {1} in {2}", agent.Name, pos, scene.Name);