From f5bd9e4ac59f1950fdb73b1c518b7553069c555a Mon Sep 17 00:00:00 2001 From: plagman Date: Sat, 21 Aug 2010 19:04:37 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/polymer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 9a19d2e6f..844ba0d1d 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -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;