Just in case?

This commit is contained in:
Jaime Passos 2019-12-07 23:55:28 -03:00
parent e9e0683d5e
commit 40b862967d
2 changed files with 6 additions and 0 deletions

View file

@ -6172,6 +6172,8 @@ void HWR_RenderSkyboxView(INT32 viewnumber, player_t *player)
//04/01/2000: Hurdler: added for T&L
// It should replace all other gr_viewxxx when finished
memset(&atransform, 0x00, sizeof(FTransform));
atransform.anglex = (float)(aimingangle>>ANGLETOFINESHIFT)*(360.0f/(float)FINEANGLES);
atransform.angley = (float)(viewangle>>ANGLETOFINESHIFT)*(360.0f/(float)FINEANGLES);
@ -6390,6 +6392,8 @@ void HWR_RenderPlayerView(INT32 viewnumber, player_t *player)
//04/01/2000: Hurdler: added for T&L
// It should replace all other gr_viewxxx when finished
memset(&atransform, 0x00, sizeof(FTransform));
atransform.anglex = (float)(aimingangle>>ANGLETOFINESHIFT)*(360.0f/(float)FINEANGLES);
atransform.angley = (float)(viewangle>>ANGLETOFINESHIFT)*(360.0f/(float)FINEANGLES);

View file

@ -915,6 +915,8 @@ void HWR_DrawModel(gr_vissprite_t *spr)
if (spr->precip)
return;
memset(&p, 0x00, sizeof(FTransform));
// MD2 colormap fix
// colormap test
if (spr->mobj->subsector)