mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-26 04:31:22 +00:00
Fixed incorrect automap arrow position in multiplayer
This caused the player arrows to update at only 35Hz and for the console player's arrow it would lag behind when following.
This commit is contained in:
parent
7c9c7fa1f7
commit
566e03da60
1 changed files with 2 additions and 1 deletions
|
@ -2880,7 +2880,8 @@ void DAutomap::drawPlayers ()
|
|||
|
||||
if (p->mo != nullptr)
|
||||
{
|
||||
DVector3 pos = p->mo->PosRelative(MapPortalGroup);
|
||||
DVector2 pos = p->mo->InterpolatedPosition(r_viewpoint.TicFrac).XY();
|
||||
pos += Level->Displacements.getOffset(Level->PointInSector(pos)->PortalGroup, MapPortalGroup);
|
||||
pt.x = pos.X;
|
||||
pt.y = pos.Y;
|
||||
|
||||
|
|
Loading…
Reference in a new issue