mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-22 00:19:19 +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;
|
idx = ~idx;
|
||||||
}
|
}
|
||||||
|
|
||||||
var endIdx = idx + 1;
|
var endIdx = idx + 1;
|
||||||
|
if( endIdx == list.Count )
|
||||||
|
{
|
||||||
|
return ( idx, endIdx );
|
||||||
|
}
|
||||||
|
|
||||||
while( maskedKey == ( list[ endIdx ].Item1 & mask ) )
|
while( maskedKey == ( list[ endIdx ].Item1 & mask ) )
|
||||||
{
|
{
|
||||||
++endIdx;
|
++endIdx;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue