summaryrefslogtreecommitdiffstats
path: root/src/objects/CutsceneObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/CutsceneObject.cpp')
-rw-r--r--src/objects/CutsceneObject.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/objects/CutsceneObject.cpp b/src/objects/CutsceneObject.cpp
index 8d1be357..01fb038f 100644
--- a/src/objects/CutsceneObject.cpp
+++ b/src/objects/CutsceneObject.cpp
@@ -53,12 +53,15 @@ CCutsceneObject::SetModelIndex(uint32 id)
void
CCutsceneObject::CreateShadow(void)
{
+ // empty in LCS
+ /*
if ( IsPedModel(GetModelIndex()) )
{
m_pShadow = new CCutsceneShadow();
if (!m_pShadow->IsInitialized())
m_pShadow->Create(m_rwObject, 6, true, 4, true);
}
+ */
}
void
@@ -150,9 +153,9 @@ CCutsceneObject::PreRender(void)
void
CCutsceneObject::Render(void)
{
- RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLNONE);
+ SetCullMode(rwCULLMODECULLNONE);
CObject::Render();
- RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLBACK);
+ SetCullMode(rwCULLMODECULLBACK);
}
bool