From cd7a3519a7a4e9914906d96b603cefdbf3a58a0e Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 30 Aug 2008 22:38:56 +0000 Subject: added the loading screen again --- src/game/client/components/particles.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/game/client/components/particles.cpp') diff --git a/src/game/client/components/particles.cpp b/src/game/client/components/particles.cpp index 0c449263..58af6f55 100644 --- a/src/game/client/components/particles.cpp +++ b/src/game/client/components/particles.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include "particles.hpp" PARTICLES::PARTICLES() @@ -82,9 +83,7 @@ void PARTICLES::update(float time_passed) // move the point vec2 vel = particles[i].vel*time_passed; - - // TODO: repair me - //move_point(&particles[i].pos, &vel, 0.1f+0.9f*frandom(), NULL); + move_point(&particles[i].pos, &vel, 0.1f+0.9f*frandom(), NULL); particles[i].vel = vel* (1.0f/time_passed); particles[i].life += time_passed; -- cgit 1.4.1