- fixed compile from last commit

- refactored the zscript hookup a bit, made it actually work
This commit is contained in:
Rachael Alexanderson 2017-07-29 13:59:36 -04:00
commit 91ff447a90
7 changed files with 21 additions and 26 deletions

View file

@ -179,8 +179,8 @@ bool RenderPolySprite::IsThingCulled(AActor *thing)
// check renderrequired vs ~r_rendercaps, if anything matches we don't support that feature,
// check renderhidden vs r_rendercaps, if anything matches we do support that feature and should hide it.
if ((!!((uint32_t)(thing->renderrequired) & ~r_renderercaps)) ||
(!!((uint32_t)(thing->renderhidden) & r_renderercaps)))
if ((!!(thing->RenderRequired & ~r_renderercaps)) ||
(!!(thing->RenderHidden & r_renderercaps)))
return true;
return false;