mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +12:00
Fix tile id thingy again
This commit is contained in:
parent
6613b0cb87
commit
2b6db887ed
2 changed files with 12 additions and 2 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<History>True|2022-11-14T15:14:26.1245995Z;</History>
|
||||||
|
<LastFailureDetails />
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
|
@ -6123,9 +6123,9 @@ namespace HISP.Server
|
||||||
|
|
||||||
returnedMsg = Messages.FormatPlayerHereMessage(usernameStr);
|
returnedMsg = Messages.FormatPlayerHereMessage(usernameStr);
|
||||||
}
|
}
|
||||||
// TODO: REMEMBER TO CHANGE THIS BACK
|
|
||||||
//byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo(returnedMsg);
|
//byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo(returnedMsg);
|
||||||
byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo("ground: " + Map.GetTileId(x, y, false)-1 + ", overlay: " + Map.GetTileId(x, y, true)-1);
|
// Debug tile id information
|
||||||
|
byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo("ground: " + (Map.GetTileId(x, y, false)-1).ToString() + ", overlay: " + (Map.GetTileId(x, y, true)-1).ToString());
|
||||||
sender.SendPacket(tileInfoPacket);
|
sender.SendPacket(tileInfoPacket);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue