Add files via upload

This commit is contained in:
Lukas Kastern 2019-07-03 20:59:03 +02:00 committed by GitHub
parent c6c73a36e9
commit 717ec3942f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ public static IEnumerable<Friend> GetFriends()
{
for ( int i=0; i<Internal.GetFriendCount( (int) FriendFlags.Immediate ); i++ )
{
yield return new Friend( Internal.GetFriendByIndex( i, 0xFFFF ) );
yield return new Friend( Internal.GetFriendByIndex( i, (int)FriendFlags.Immediate ) );
}
}
@ -122,7 +122,7 @@ public static IEnumerable<Friend> GetBlocked()
{
for ( int i = 0; i < Internal.GetFriendCount( (int)FriendFlags.Blocked ); i++ )
{
yield return new Friend( Internal.GetFriendByIndex( i, 0xFFFF ) );
yield return new Friend( Internal.GetFriendByIndex( i, (int)FriendFlags.Blocked) );
}
}