mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- Duke: Fix flashing vehicle HUD when cl_syncinput 1
is set.
This commit is contained in:
parent
fc7dada764
commit
9b7d07df90
1 changed files with 2 additions and 8 deletions
|
@ -219,10 +219,7 @@ void displayweapon_r(int snum, double smoothratio)
|
|||
else
|
||||
pal = sector[p->cursectnum].floorpal;
|
||||
|
||||
if (TiltStatus >= 0)
|
||||
ShowMotorcycle(160-look_anghalf, 174, temp_kb, shade, 0, pal, TiltStatus*5);
|
||||
else if (p->TiltStatus < 0)
|
||||
ShowMotorcycle(160-look_anghalf, 174, temp_kb, shade, 0, pal, TiltStatus*5+2047);
|
||||
ShowMotorcycle(160-look_anghalf, 174, temp_kb, shade, 0, pal, TiltStatus*5);
|
||||
return;
|
||||
}
|
||||
if (p->OnBoat)
|
||||
|
@ -294,10 +291,7 @@ void displayweapon_r(int snum, double smoothratio)
|
|||
if (temp2)
|
||||
shade = -96;
|
||||
|
||||
if (TiltStatus >= 0)
|
||||
ShowBoat(160-look_anghalf, temp3, temp_kb, shade, 0, pal, TiltStatus);
|
||||
else if (p->TiltStatus < 0)
|
||||
ShowBoat(160-look_anghalf, temp3, temp_kb, shade, 0, pal, TiltStatus+2047);
|
||||
ShowBoat(160-look_anghalf, temp3, temp_kb, shade, 0, pal, TiltStatus);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue