mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-23 19:30:55 +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
347cb724e3
commit
503f716507
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