Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-26 16:39:08 +0000
committerStijn Buys <ingar@osirion.org>2008-07-26 16:39:08 +0000
commitab0e9f429d15fa779b7bc0f145fc5e84eddf93be (patch)
tree525dc6fc3aef68140f7ee3fb079c4e35f1cf0036
parentad4b28abd9a545bebaf4dd77cb6a13863ace9843 (diff)
probably fixes a delta-bug that plagues thorn
-rw-r--r--src/render/draw.cc2
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;