mirror of
https://github.com/islehorse/HISP.git
synced 2025-05-18 09:13:59 +12:00
Fix 2player for real
This commit is contained in:
parent
de6a626f10
commit
c40c965d7e
5 changed files with 9 additions and 9 deletions
HorseIsleServer/LibHISP/Server
|
@ -309,9 +309,9 @@ namespace HISP.Server
|
|||
// this is used for *most* SwfModule
|
||||
public static byte[] CreateForwardedSwfModule(byte[] request)
|
||||
{
|
||||
byte[] packet = new byte[1 + (request.Length-1)];
|
||||
byte[] packet = new byte[1 + (request.Length-3)];
|
||||
packet[0] = PACKET_SWFMODULE;
|
||||
Array.Copy(request, 0, packet, 1, (request.Length-2));
|
||||
Array.Copy(request, 2, packet, 1, (request.Length-3));
|
||||
return packet;
|
||||
}
|
||||
// Creates a byte array that contains "Bird Map" data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue