HGFriendsModule: Type casts to fix compile error

integration
Snoopy Pfeffer 2012-04-11 18:56:28 +02:00
parent 1f4d3d3582
commit 8be14095fe
1 changed files with 1 additions and 1 deletions

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;