mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04: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:
1 parent
0a6b005a0c
commit
50659afc82
4 files changed
+37
-11
No files matched your search
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user