- fixed compile from last commit
- refactored the zscript hookup a bit, made it actually work
This commit is contained in:
parent
712d21e26a
commit
91ff447a90
7 changed files with 21 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue