Fixed state being wrong size. Player substate will always be 0xBF.

This commit is contained in:
Filip Maj 2016-01-09 00:06:56 -05:00
parent fac9d28529
commit 315ec1f220
2 changed files with 3 additions and 1 deletions

View file

@ -34,7 +34,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
public static SubPacket buildPacket(uint playerActorID, uint targetID, uint mainState, uint subState)
{
uint combined = (mainState & 0xFF) | ((subState & 0xFF) << 8);
ulong combined = (mainState & 0xFF) | ((subState & 0xFF) << 8);
return new SubPacket(OPCODE, playerActorID, targetID, BitConverter.GetBytes(combined));
}
}