diff options
author | aap <aap@papnet.eu> | 2020-04-07 22:26:01 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-07 22:26:01 +0200 |
commit | daaf443cfaa0532aad8a0ede0cad826c66650593 (patch) | |
tree | d4d3940858a75f23b3bc67aa453c3723ea955a4d /src/entities | |
parent | implemented CRubbish (diff) | |
download | re3-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 '')
-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(); |