mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
- possible fix for continual rotscrnang thrashing when dead that was reported in #66.
This commit is contained in:
parent
9c1faaa3ac
commit
9f391c3e9f
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ void applylook(int snum, double factor)
|
|||
{
|
||||
auto p = &ps[snum];
|
||||
|
||||
if (sprite[p->i].extra > 0)
|
||||
if (p->dead_flag == 0)
|
||||
{
|
||||
p->addrotscrnang(factor * -0.5 * fix16_to_dbl(p->q16rotscrnang));
|
||||
if (abs(p->q16rotscrnang) < FRACUNIT) p->q16rotscrnang = 0;
|
||||
|
|
Loading…
Reference in a new issue