mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
sw/src/draw.cpp:drawscreen: Use GetQ16AngleFromVect for pointing
at a remote-controlled SO. In case PedanticMode == FALSE, this leads to small improvements with aiming at the car in EXAMPLE.MAP.
This commit is contained in:
parent
207240f277
commit
ef85bc58c3
1 changed files with 1 additions and 1 deletions
|
@ -2089,7 +2089,7 @@ drawscreen(PLAYERp pp)
|
|||
if (TEST_BOOL1(pp->remote_sprite))
|
||||
tq16ang = fix16_from_int(pp->remote_sprite->ang);
|
||||
else
|
||||
tq16ang = fix16_from_int(getangle(pp->sop_remote->xmid - tx, pp->sop_remote->ymid - ty));
|
||||
tq16ang = GetQ16AngleFromVect(pp->sop_remote->xmid - tx, pp->sop_remote->ymid - ty);
|
||||
}
|
||||
|
||||
//if (TEST(camerapp->Flags, PF_VIEW_FROM_OUTSIDE))
|
||||
|
|
Loading…
Reference in a new issue