about summary refs log tree commit diff
path: root/src/game/client/components/particles.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-30 22:38:56 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-30 22:38:56 +0000
commitcd7a3519a7a4e9914906d96b603cefdbf3a58a0e (patch)
tree75d5121c24bc6f449e399a227fcf7553f73e811f /src/game/client/components/particles.cpp
parent432602c4ca5d47aee91d25271fa57ad0f6d67250 (diff)
downloadzcatch-cd7a3519a7a4e9914906d96b603cefdbf3a58a0e.tar.gz
zcatch-cd7a3519a7a4e9914906d96b603cefdbf3a58a0e.zip
added the loading screen again
Diffstat (limited to 'src/game/client/components/particles.cpp')
-rw-r--r--src/game/client/components/particles.cpp5
1 files changed, 2 insertions, 3 deletions
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 <base/math.hpp>
 #include <game/generated/gc_data.hpp>
 #include <game/client/gc_render.hpp>
+#include <game/gamecore.hpp>
 #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;