diff --git a/source/sw/src/draw.cpp b/source/sw/src/draw.cpp index 61b16d6da..6aee888fa 100644 --- a/source/sw/src/draw.cpp +++ b/source/sw/src/draw.cpp @@ -886,7 +886,7 @@ analyzesprites(int viewx, int viewy, int viewz, SWBOOL mirror) } tsp->z = tsp->z + pp->siz; - tsp->ang = fix16_to_int(pp->siang); + tsp->ang = pp->siang; //continue; } else @@ -2058,7 +2058,7 @@ drawscreen(PLAYERp pp) pp->six = tx; pp->siy = ty; pp->siz = tz - pp->posz; - pp->siang = tq16ang; + pp->siang = fix16_to_int(tq16ang); QuakeViewChange(camerapp, &quake_z, &quake_x, &quake_y, &quake_ang); VisViewChange(camerapp, &g_visibility); diff --git a/source/sw/src/game.h b/source/sw/src/game.h index cdcb85141..528314b8f 100644 --- a/source/sw/src/game.h +++ b/source/sw/src/game.h @@ -1144,7 +1144,7 @@ struct PLAYERstruct int camera_dist; // view mode dist int circle_camera_dist; int six,siy,siz; // save player interp position for PlayerSprite - fix16_t siang; + short siang; int xvect, yvect; int oxvect, oyvect;