mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Fix wrong interpretation of SPREXT_NOTMD that would cause it to assume the flag was set whenever any flag was set, causing the models to switch on and off in Duke Plus with Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1700 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
99415a625f
commit
f5bd9e4ac5
1 changed files with 1 additions and 1 deletions
|
@ -1308,7 +1308,7 @@ void polymer_drawsprite(int32_t snum)
|
||||||
|
|
||||||
if (usemodels && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].modelid >= 0 &&
|
if (usemodels && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].modelid >= 0 &&
|
||||||
tile2model[Ptile2tile(tspr->picnum,tspr->pal)].framenum >= 0 &&
|
tile2model[Ptile2tile(tspr->picnum,tspr->pal)].framenum >= 0 &&
|
||||||
!spriteext[tspr->owner].flags & SPREXT_NOTMD)
|
!(spriteext[tspr->owner].flags & SPREXT_NOTMD))
|
||||||
{
|
{
|
||||||
polymer_drawmdsprite(tspr);
|
polymer_drawmdsprite(tspr);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue