diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 13:48:35 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 13:48:35 +0200 |
commit | e9b334d7bf270682f83c5c18b2d85a25703c1a2d (patch) | |
tree | baa7ed00dedd2b09f99a2bb4958d2837ef6a8da6 /src/rw/VisibilityPlugins.cpp | |
parent | SetPosition, final part (diff) | |
download | re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.gz re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.bz2 re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.lz re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.xz re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.zst re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.zip |
Diffstat (limited to 'src/rw/VisibilityPlugins.cpp')
-rw-r--r-- | src/rw/VisibilityPlugins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp index 7dc27f48..0bed30e4 100644 --- a/src/rw/VisibilityPlugins.cpp +++ b/src/rw/VisibilityPlugins.cpp @@ -146,7 +146,7 @@ CVisibilityPlugins::RenderFadingEntities(void) CEntity *e = node->item.entity; if(e->m_rwObject == nil) continue; - mi = (CSimpleModelInfo*)CModelInfo::GetModelInfo(e->m_modelIndex); + mi = (CSimpleModelInfo *)CModelInfo::GetModelInfo(e->GetModelIndex()); if(mi->m_noZwrite) RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, FALSE); |