mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 03:00:58 +00:00
- 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:
parent
a298a3d3df
commit
97a0cb2a10
12 changed files with 31 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue