mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Added completed quest sendback.
This commit is contained in:
parent
306f4ef346
commit
c677479a03
6 changed files with 35 additions and 24 deletions
|
@ -245,7 +245,7 @@ namespace Meteor.Common
|
|||
{
|
||||
for (var bitCount = 0; bitCount < 8; bitCount++)
|
||||
{
|
||||
if (i + bitCount >= array.Length)
|
||||
if (i + bitCount >= array.Length - 1)
|
||||
break;
|
||||
data[dataCounter] = (byte)(((array[i + bitCount] ? 1 : 0) << 7 - bitCount) | data[dataCounter]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue