- fixed animatesprites call in Duke.

This passed z instead of angle.
This commit is contained in:
Christoph Oelckers 2021-04-05 12:25:09 +02:00
parent de2df926e1
commit 090b52f783

View file

@ -444,7 +444,7 @@ bool GameInterface::GenerateSavePic()
void GameInterface::processSprites(spritetype* tsprite, int& spritesortcnt, int viewx, int viewy, int viewz, binangle viewang, double smoothRatio)
{
fi.animatesprites(tsprite, spritesortcnt, viewx, viewy, viewz, int(smoothRatio));
fi.animatesprites(tsprite, spritesortcnt, viewx, viewy, viewang.asbuild(), int(smoothRatio));
}