diff options
author | Justin Clark-Casey (justincc) | 2014-01-17 23:32:37 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-17 23:32:37 +0000 |
commit | 9fefbcf7fc5e8767030757da7ab077fa96cc0904 (patch) | |
tree | 38da067a835ee80c902a83ee1baf6389fed2180d /OpenSim | |
parent | Reorder checks in SP.CompleteMovement() to fix test failures (diff) | |
download | opensim-SC-9fefbcf7fc5e8767030757da7ab077fa96cc0904.zip opensim-SC-9fefbcf7fc5e8767030757da7ab077fa96cc0904.tar.gz opensim-SC-9fefbcf7fc5e8767030757da7ab077fa96cc0904.tar.bz2 opensim-SC-9fefbcf7fc5e8767030757da7ab077fa96cc0904.tar.xz |
minor: since structs are values, assigning them to another variable copies it. Instantiation is unnecessary.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 2 |
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); |