minor: since structs are values, assigning them to another variable copies it. Instantiation is unnecessary.

master-beforevarregion
Justin Clark-Casey (justincc) 2014-01-17 23:32:37 +00:00
джерело 4fa843ff19
коміт 9fefbcf7fc
1 змінених файлів з 1 додано та 1 видалено

@ -1385,7 +1385,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
public GridRegion GetDestination(Scene scene, UUID agentID, Vector3 pos, out uint xDest, out uint yDest, out string version, out Vector3 newpos)
{
version = String.Empty;
newpos = new Vector3(pos.X, pos.Y, pos.Z);
newpos = pos;
// m_log.DebugFormat(
// "[ENTITY TRANSFER MODULE]: Crossing agent {0} at pos {1} in {2}", agent.Name, pos, scene.Name);