mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Fixed actor state property packet not sending in string correctly. Added test command for it. Fixed bug in MurmurHash algo.
This commit is contained in:
parent
0a6b005a0c
commit
50659afc82
4 changed files with 37 additions and 11 deletions
|
@ -96,15 +96,14 @@ namespace FFXIVClassic_Lobby_Server.common
|
|||
}
|
||||
|
||||
// Handle the last few bytes of the input array
|
||||
|
||||
switch (len)
|
||||
{
|
||||
case 3:
|
||||
h ^= (uint)data[2] << 16; goto case 2;
|
||||
h ^= (uint)data[0] << 16; goto case 2;
|
||||
case 2:
|
||||
h ^= (uint)data[0] << 8; goto case 1;
|
||||
case 1:
|
||||
h ^= data[1];
|
||||
h ^= (uint)data[len-2] << 8; goto case 1;
|
||||
case 1:
|
||||
h ^= data[len-1];
|
||||
h *= m;
|
||||
break;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue