diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-12 10:57:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-12 10:57:38 +0000 |
commit | 24c695e83947d3457dbd1f5d696fa09b4ef953c0 (patch) | |
tree | a666996d17bf611ffbec4fa364f258b00e7adef4 /src/render | |
parent | d2e93235b9ccd37bf8c8fb7c4376ab1911c83639 (diff) |
light offset bugfix, console word wrapping
Diffstat (limited to 'src/render')
-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 e2037e2..7c35bf3 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -428,7 +428,7 @@ void draw_pass_model_fx() // strobe frequency t = 1.0f; if ((*lit)->strobe()) - t = (core::application()->time() + entity->state()->fuzz() + (*lit)->offset()) * (*lit)->frequency(); + t = (core::application()->time() + entity->state()->fuzz() - (*lit)->offset()) * (*lit)->frequency(); if (!(*lit)->strobe() || (( t - floorf(t)) <= (*lit)->time())) { math::Vector3f location = entity->state()->location() + (entity->axis() * (*lit)->location()); |