mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Fix crash.
This commit is contained in:
parent
c26c76fa4d
commit
592a5c8f56
1 changed files with 5 additions and 1 deletions
|
|
@ -145,8 +145,12 @@ namespace Penumbra.Game
|
|||
|
||||
idx = ~idx;
|
||||
}
|
||||
|
||||
var endIdx = idx + 1;
|
||||
if( endIdx == list.Count )
|
||||
{
|
||||
return ( idx, endIdx );
|
||||
}
|
||||
|
||||
while( maskedKey == ( list[ endIdx ].Item1 & mask ) )
|
||||
{
|
||||
++endIdx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue