summaryrefslogtreecommitdiffstats
path: root/src/core
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/core
parentremoved windows.h for most .cpps (diff)
downloadre3-f5195ca185a248299e327e64a65a1a691bb8eddd.tar
re3-f5195ca185a248299e327e64a65a1a691bb8eddd.tar.gz
re3-f5195ca185a248299e327e64a65a1a691bb8eddd.tar.bz2
re3-f5195ca185a248299e327e64a65a1a691bb8eddd.tar.lz
re3-f5195ca185a248299e327e64a65a1a691bb8eddd.tar.xz
re3-f5195ca185a248299e327e64a65a1a691bb8eddd.tar.zst
re3-f5195ca185a248299e327e64a65a1a691bb8eddd.zip
Diffstat (limited to '')
-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) ||