summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-07 22:26:01 +0200
committeraap <aap@papnet.eu>2020-04-07 22:26:01 +0200
commitdaaf443cfaa0532aad8a0ede0cad826c66650593 (patch)
treed4d3940858a75f23b3bc67aa453c3723ea955a4d /src/entities
parentimplemented CRubbish (diff)
downloadre3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar
re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.gz
re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.bz2
re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.lz
re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.xz
re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.zst
re3-daaf443cfaa0532aad8a0ede0cad826c66650593.zip
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Entity.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 8bec1ac8..7a050818 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -394,13 +394,13 @@ CEntity::PreRender(void)
}else if(GetModelIndex() == MI_GRENADE){
CMotionBlurStreaks::RegisterStreak((uintptr)this,
100, 100, 100,
- TheCamera.GetPosition() - 0.07f*TheCamera.GetRight(),
- TheCamera.GetPosition() + 0.07f*TheCamera.GetRight());
+ GetPosition() - 0.07f*TheCamera.GetRight(),
+ GetPosition() + 0.07f*TheCamera.GetRight());
}else if(GetModelIndex() == MI_MOLOTOV){
CMotionBlurStreaks::RegisterStreak((uintptr)this,
0, 100, 0,
- TheCamera.GetPosition() - 0.07f*TheCamera.GetRight(),
- TheCamera.GetPosition() + 0.07f*TheCamera.GetRight());
+ GetPosition() - 0.07f*TheCamera.GetRight(),
+ GetPosition() + 0.07f*TheCamera.GetRight());
}
}else if(GetModelIndex() == MI_MISSILE){
CVector pos = GetPosition();