mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
SW: We can revert the change of siang to q16 now
This commit is contained in:
parent
1d2aadd229
commit
a2a1642f3d
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue