- handle voxel rotation in the backend to enable it for all games.

This was previously only present in the Blood module and missed in Exhumed from upstream so the entire option was rather pointless.
Fixes #290
This commit is contained in:
Christoph Oelckers 2021-04-04 10:33:29 +02:00
parent a298a3d3df
commit 97a0cb2a10
12 changed files with 31 additions and 10 deletions

View file

@ -1648,7 +1648,7 @@ int32_t polymost_mddraw(tspriteptr_t tspr)
mdmodel_t *const vm = models[tile2model[Ptile2tile(tspr->picnum,
(tspr->owner >= MAXSPRITES) ? tspr->pal : sprite[tspr->owner].pal)].modelid];
if (vm->mdnum == 1)
return polymost_voxdraw((voxmodel_t *)vm,tspr);
return polymost_voxdraw((voxmodel_t *)vm,tspr, false); // can't access rotating info anymore
else if (vm->mdnum == 3)
return polymost_md3draw((md3model_t *)vm,tspr);
return 0;