diff options
author | aap <aap@papnet.eu> | 2020-05-25 20:36:18 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-25 20:36:23 +0200 |
commit | 3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235 (patch) | |
tree | d1e86b5e9fe98616c3bb83554381e681330b6b6e /src/vehicles/Heli.cpp | |
parent | Even more audio cleanups (diff) | |
download | re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.gz re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.bz2 re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.lz re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.xz re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.zst re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Heli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Heli.cpp b/src/vehicles/Heli.cpp index 7b62b461..bb266a80 100644 --- a/src/vehicles/Heli.cpp +++ b/src/vehicles/Heli.cpp @@ -570,7 +570,7 @@ CHeli::PreRender(void) i = 0; for(angle = 0.0f; angle < TWOPI; angle += TWOPI/32){ CVector pos(radius*Cos(angle), radius*Sin(angle), 0.0f); - CVector dir = pos*0.01f; + CVector dir = CVector(pos.x, pos.y, 1.0f)*0.01f; pos += GetPosition(); if(CWorld::ProcessVerticalLine(pos, testLowZ, point, entity, true, false, false, false, true, false, nil)) |