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:
plagman 2010-08-21 19:04:37 +00:00
parent 99415a625f
commit f5bd9e4ac5

View file

@ -1308,7 +1308,7 @@ void polymer_drawsprite(int32_t snum)
if (usemodels && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].modelid >= 0 &&
tile2model[Ptile2tile(tspr->picnum,tspr->pal)].framenum >= 0 &&
!spriteext[tspr->owner].flags & SPREXT_NOTMD)
!(spriteext[tspr->owner].flags & SPREXT_NOTMD))
{
polymer_drawmdsprite(tspr);
return;