From 24c695e83947d3457dbd1f5d696fa09b4ef953c0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 12 May 2008 10:57:38 +0000 Subject: light offset bugfix, console word wrapping --- src/render/draw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/draw.cc') 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()); -- cgit v1.2.3