HGFriendsModule: Type casts to fix compile error

This commit is contained in:
Snoopy Pfeffer
2012-04-11 18:56:28 +02:00
parent 1f4d3d3582
commit 8be14095fe

View File

@@ -135,7 +135,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
if (!UserManagementModule.IsLocalGridUser(friendID))
{
ScenePresence avatar = null;
client.Scene.TryGetScenePresence(principalID, out avatar);
((Scene)client.Scene).TryGetScenePresence(principalID, out avatar);
if (avatar == null)
return;