mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
take maphacks into consideration
# Conflicts: # source/build/src/polymost.cpp
This commit is contained in:
parent
78ff1f0536
commit
256bc3ec08
1 changed files with 4 additions and 0 deletions
|
@ -354,6 +354,10 @@ int32_t polymost_spriteHasTranslucency(tspritetype const * const tspr)
|
|||
|
||||
int32_t polymost_spriteIsModelOrVoxel(tspritetype const * const tspr)
|
||||
{
|
||||
if (spriteext[tspr->owner].flags&SPREXT_NOTMD)
|
||||
return false;
|
||||
|
||||
|
||||
if (hw_models && tile2model[Ptile2tile(tspr->picnum, tspr->pal)].modelid >= 0 &&
|
||||
tile2model[Ptile2tile(tspr->picnum, tspr->pal)].framenum >= 0)
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue