From ab0e9f429d15fa779b7bc0f145fc5e84eddf93be Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 26 Jul 2008 16:39:08 +0000 Subject: probably fixes a delta-bug that plagues thorn --- src/render/draw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3