diff --git a/source/sw/src/draw.cpp b/source/sw/src/draw.cpp index fef277cbf..ea30de4fd 100644 --- a/source/sw/src/draw.cpp +++ b/source/sw/src/draw.cpp @@ -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))