renderer fix from miami

This commit is contained in:
withmorten committed 2021-01-31 02:08:42 +01:00
1 parent f61a91c97d
commit da378077f7
2 files changed
+8

No files matched your search

+4
View File
@@ -192,6 +192,10 @@ CVisibilityPlugins::InitAlphaEntityList(void)
bool
CVisibilityPlugins::InsertEntityIntoSortedList(CEntity *e, float dist)
{
#ifdef FIX_BUGS
if (!e->m_rwObject) return true;
#endif
AlphaObjectInfo item;
item.entity = e;
item.sort = dist;