summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-28 09:34:04 +0100
committeraap <aap@papnet.eu>2020-03-28 09:34:04 +0100
commitf5195ca185a248299e327e64a65a1a691bb8eddd (patch)
tree552f43a564c5c4e89f4212a30d0a6116000306d8 /src
parente7c18fc17f82c40e937367726e07a58d5d4d7bce (diff)
CCam fix
Diffstat (limited to 'src')
-rw-r--r--src/core/Cam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp
index 12c72993..4ddde360 100644
--- a/src/core/Cam.cpp
+++ b/src/core/Cam.cpp
@@ -1601,7 +1601,7 @@ CCam::Process_FollowPedWithMouse(const CVector &CameraTarget, float TargetOrient
entity = nil;
}
- if(CamTargetEntity->GetClump()){
+ if(CamTargetEntity->m_rwObject){
// what's going on here?
if(RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_WEAPON_PUMP) ||
RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_WEAPON_THROW) ||