mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-01 05:13:43 +01:00
Fix crashing non-stupidly.
This commit is contained in:
parent
ebb9100170
commit
d2086f7fc8
1 changed files with 1 additions and 6 deletions
|
|
@ -146,12 +146,7 @@ namespace Penumbra.Game
|
||||||
idx = ~idx;
|
idx = ~idx;
|
||||||
}
|
}
|
||||||
var endIdx = idx + 1;
|
var endIdx = idx + 1;
|
||||||
if( endIdx == list.Count )
|
while( endIdx < list.Count && maskedKey == ( list[endIdx].Item1 & mask ) )
|
||||||
{
|
|
||||||
return ( idx, endIdx );
|
|
||||||
}
|
|
||||||
|
|
||||||
while( maskedKey == ( list[ endIdx ].Item1 & mask ) )
|
|
||||||
{
|
{
|
||||||
++endIdx;
|
++endIdx;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue