Leverage 'Point' in Lighting and Player functions (#2048)
This commit is contained in:
parent
27a1a3bbfb
commit
b3ec79af4f
15 changed files with 191 additions and 223 deletions
|
|
@ -497,7 +497,7 @@ void multi_process_network_packets()
|
|||
if (dx > 1 || dy > 1) {
|
||||
plr[dwID].position.future = plr[dwID].position.tile;
|
||||
}
|
||||
MakePlrPath(dwID, pkt->targx, pkt->targy, true);
|
||||
MakePlrPath(dwID, { pkt->targx, pkt->targy }, true);
|
||||
} else {
|
||||
plr[dwID].position.tile = { pkt->px, pkt->py };
|
||||
plr[dwID].position.future = { pkt->px, pkt->py };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue