summaryrefslogtreecommitdiff
path: root/src/objects/CutsceneObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/CutsceneObject.cpp')
-rw-r--r--src/objects/CutsceneObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects/CutsceneObject.cpp b/src/objects/CutsceneObject.cpp
index 492d5416..5c10d37d 100644
--- a/src/objects/CutsceneObject.cpp
+++ b/src/objects/CutsceneObject.cpp
@@ -100,7 +100,7 @@ void
CCutsceneObject::RenderLimb(int32 bone)
{
RpAtomic *atomic;
- CPedModelInfo *mi = (CPedModelInfo*)CModelInfo::GetModelInfo(m_modelIndex);
+ CPedModelInfo *mi = (CPedModelInfo *)CModelInfo::GetModelInfo(GetModelIndex());
switch(bone){
case BONE_head:
atomic = mi->getHead();