🎨 Mark Points returned by GetTargetPosition as const
This commit is contained in:
parent
bab52c0237
commit
23cec61f15
4 changed files with 4 additions and 4 deletions
|
|
@ -117,7 +117,7 @@ static BYTE *multi_recv_packet(TBuffer *pBuf, BYTE *body, DWORD *size)
|
|||
|
||||
static void NetRecvPlrData(TPkt *pkt)
|
||||
{
|
||||
Point target = plr[myplr].GetTargetPosition();
|
||||
const 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