Fix mdpivxoff and mdpivyoff commands

Thanks to LeoD.

git-svn-id: https://svn.eduke32.com/eduke32@8643 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2020-02-29 07:35:46 +00:00 committed by Christoph Oelckers
parent 64a34f8af7
commit dc2d6a098e

View file

@ -1625,7 +1625,7 @@ static int32_t polymost_md3draw(md3model_t *m, tspriteptr_t tspr)
// PLAG: Cleaner model rotation code
if (sext->pitch || sext->roll)
{
float f = 1.f/(fxdimen * fviewingrange) * (256.f/(65536.f*128.f)) * (m0.x+m1.x);
float f = 1.f/((fxdimen * fviewingrange) * (256.f/(65536.f*128.f)) * (m0.x+m1.x));
Bmemset(&a0, 0, sizeof(a0));
if (sext->pivot_offset.x)