diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-08 13:26:07 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-08 13:26:07 +0200 |
commit | b075b0fccf3e40a375c229cee4dfa3021c618809 (patch) | |
tree | 1c45a3d3b54aa386c52825bddf0fec9ba993c51b /src/entities | |
parent | rain fix (diff) | |
parent | fix bug (diff) | |
download | re3-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.cpp | 8 |
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(); |