diff options
Diffstat (limited to 'src/game/client/components/particles.cpp')
| -rw-r--r-- | src/game/client/components/particles.cpp | 5 |
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; |