SW: We can revert the change of siang to q16 now

This commit is contained in:
NY00123 2020-04-04 00:51:51 +03:00 committed by Christoph Oelckers
parent 1d2aadd229
commit a2a1642f3d
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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;