Commit 752120ee authored by wind2009's avatar wind2009

Fix OnPlayerHint

parent a859dd54
...@@ -2028,7 +2028,7 @@ namespace WindBot.Game ...@@ -2028,7 +2028,7 @@ namespace WindBot.Game
/// </summary> /// </summary>
private void OnPlayerHint(BinaryReader packet) private void OnPlayerHint(BinaryReader packet)
{ {
int player = packet.ReadByte(); int player = GetLocalPlayer(packet.ReadByte());
int hintType = packet.ReadByte(); int hintType = packet.ReadByte();
int description = packet.ReadInt32(); int description = packet.ReadInt32();
Logger.DebugWriteLine("PlayerHint received: player=" + player + ", hintType=" + hintType + " (" + (PlayerHintType)hintType + "), description=" + description); Logger.DebugWriteLine("PlayerHint received: player=" + player + ", hintType=" + hintType + " (" + (PlayerHintType)hintType + "), description=" + description);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment