diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-26 16:39:08 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-26 16:39:08 +0000 |
commit | ab0e9f429d15fa779b7bc0f145fc5e84eddf93be (patch) | |
tree | 525dc6fc3aef68140f7ee3fb079c4e35f1cf0036 | |
parent | ad4b28abd9a545bebaf4dd77cb6a13863ace9843 (diff) |
probably fixes a delta-bug that plagues thorn
-rw-r--r-- | src/render/draw.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 7866dbe..5403172 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -727,7 +727,7 @@ void draw_pass_model_fx(float elapsed) float fraction = entity->state()->state_engine_trail_offset; fraction += elapsed * 4.0f * u; - while (fraction - 1.0f > 0) + while (fraction - 1.0001f > 0) fraction -= 1.0f; entity->state()->state_engine_trail_offset = fraction; |