mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Respect the 'notmd' maphack when deciding to draw models in Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1680 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a1a5f9cb5a
commit
10830a7f3f
1 changed files with 33 additions and 31 deletions
|
@ -1305,7 +1305,9 @@ void polymer_drawsprite(int32_t snum)
|
||||||
bglFogf(GL_FOG_DENSITY,fogresult);
|
bglFogf(GL_FOG_DENSITY,fogresult);
|
||||||
bglFogfv(GL_FOG_COLOR,fogcol);
|
bglFogfv(GL_FOG_COLOR,fogcol);
|
||||||
|
|
||||||
if (usemodels && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].modelid >= 0 && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].framenum >= 0)
|
if (usemodels && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].modelid >= 0 &&
|
||||||
|
tile2model[Ptile2tile(tspr->picnum,tspr->pal)].framenum >= 0 &&
|
||||||
|
!spriteext[tspr->owner].flags & SPREXT_NOTMD)
|
||||||
{
|
{
|
||||||
polymer_drawmdsprite(tspr);
|
polymer_drawmdsprite(tspr);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue