- For RR, pass vehicle TiltStatus through to backend as the double that it is.

This commit is contained in:
Mitchell Richters 2020-08-03 11:06:23 +10:00
parent 8526bd6a17
commit 80291f9cb7
3 changed files with 4 additions and 4 deletions

View file

@ -93,13 +93,13 @@ void displaymasks_r(int snum)
void ShowMotorcycle(double x, double y, int tilenum, int shade, int orientation, int p, double a)
{
hud_drawsprite(x, y, 34816, int(a), tilenum, shade, p, 2 | orientation);
hud_drawsprite(x, y, 34816, a, tilenum, shade, p, 2 | orientation);
}
void ShowBoat(double x, double y, int tilenum, int shade, int orientation, int p, double a)
{
hud_drawsprite(x, y, 66048, int(a), tilenum, shade, p, 2 | orientation);
hud_drawsprite(x, y, 66048, a, tilenum, shade, p, 2 | orientation);
}

View file

@ -533,7 +533,7 @@ void precacheMarkedTiles()
}
}
void hud_drawsprite(double sx, double sy, int z, int a, int picnum, int dashade, int dapalnum, int dastat)
void hud_drawsprite(double sx, double sy, int z, double a, int picnum, int dashade, int dapalnum, int dastat)
{
double dz = z / 65536.;
int light = Scale(numshades - clamp(dashade, 0, numshades - 1), 255, numshades);

View file

@ -363,4 +363,4 @@ void renderBeginScene();
void renderFinishScene();
void DrawRateStuff();
void hud_drawsprite(double sx, double sy, int z, int a, int picnum, int dashade, int dapalnum, int dastat);
void hud_drawsprite(double sx, double sy, int z, double a, int picnum, int dashade, int dapalnum, int dastat);