summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 4ef9e8e6..91b417d0 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -229,7 +229,7 @@ void
CEntity::UpdateRwFrame(void)
{
if(m_rwObject)
- RwFrameUpdateObjects(rwObjectGetParent(m_rwObject));
+ RwFrameUpdateObjects((RwFrame*)rwObjectGetParent(m_rwObject));
}
#ifdef PED_SKIN