♻️Clean up automap code
Use Point for x,y pairs. Make helpers for drawing door and squares
This commit is contained in:
parent
559229dea1
commit
654a2b8834
17 changed files with 416 additions and 458 deletions
|
|
@ -117,7 +117,7 @@ static BYTE *multi_recv_packet(TBuffer *pBuf, BYTE *body, DWORD *size)
|
|||
|
||||
static void NetRecvPlrData(TPkt *pkt)
|
||||
{
|
||||
const Point target = plr[myplr].GetTargetPosition();
|
||||
Point target = plr[myplr].GetTargetPosition();
|
||||
|
||||
pkt->hdr.wCheck = LoadBE32("\0\0ip");
|
||||
pkt->hdr.px = plr[myplr].position.tile.x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue