Skip to content

Commit

Permalink
Fixed bug #2160011: Mobj models facing incorrect direction. Due to in…
Browse files Browse the repository at this point in the history
…correct yaw calculation in R_ProjectSprite().
  • Loading branch information
danij committed Dec 22, 2008
1 parent d39cf4c commit 022788e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/portable/src/r_things.c
Expand Up @@ -1097,9 +1097,9 @@ void R_ProjectSprite(mobj_t* mo)
else
{
if(useSRVOAngle && !netGame && !playback)
yaw = (mo->visAngle << 16) / (float) ANGLE_MAX * 360 - 90;
yaw = (mo->visAngle << 16) / (float) ANGLE_MAX * -360;
else
yaw = mo->angle / (float) ANGLE_MAX * 360 - 90;
yaw = mo->angle / (float) ANGLE_MAX * -360;
}

// How about a unique offset?
Expand Down

0 comments on commit 022788e

Please sign in to comment.