Revert "- possible fix for continual rotscrnang thrashing when dead that was reported in #66." What was I thinking?

This reverts commit e019939590.
This commit is contained in:
Mitchell Richters 2020-07-29 05:50:19 +10:00
parent 9b51e29d20
commit 6626323e3e

View file

@ -800,7 +800,7 @@ void applylook(int snum, double factor)
{ {
auto p = &ps[snum]; auto p = &ps[snum];
if (sprite[p->i].extra >= 0) if (sprite[p->i].extra > 0)
{ {
p->addrotscrnang(factor * -0.5 * fix16_to_dbl(p->q16rotscrnang)); p->addrotscrnang(factor * -0.5 * fix16_to_dbl(p->q16rotscrnang));
if (abs(p->q16rotscrnang) < FRACUNIT) p->q16rotscrnang = 0; if (abs(p->q16rotscrnang) < FRACUNIT) p->q16rotscrnang = 0;