summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-08 13:26:07 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-08 13:26:07 +0200
commitb075b0fccf3e40a375c229cee4dfa3021c618809 (patch)
tree1c45a3d3b54aa386c52825bddf0fec9ba993c51b /src/entities
parentrain fix (diff)
parentfix bug (diff)
downloadre3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.gz
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.bz2
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.lz
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.xz
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.zst
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.zip
Diffstat (limited to '')
-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();