OSDN Git Service

RAD-331: fixed "//follow does not follow"
authorLatif Khalifa <latifer@streamgrid.net>
Sat, 17 Mar 2012 21:54:38 +0000 (21:54 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Sat, 17 Mar 2012 21:54:38 +0000 (21:54 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1207 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/Core/StateManager.cs

index 588d4fb..96027ab 100644 (file)
@@ -385,7 +385,7 @@ namespace Radegast
             client.Network.CurrentSim.ObjectsAvatars.TryGetValue(e.Update.LocalID, out av);
             if (av == null) return;
 
-            if (av.Name == followName)
+            if (av.ID == followID)
             {
                 Vector3 pos = AvatarPosition(client.Network.CurrentSim, av);