diff options
Diffstat (limited to 'src/game/effects.cpp')
-rw-r--r-- | src/game/effects.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/effects.cpp b/src/game/effects.cpp index e80623e..306405f 100644 --- a/src/game/effects.cpp +++ b/src/game/effects.cpp @@ -51,7 +51,10 @@ fx_blood_t::fx_blood_t(state_t *game_, v2f_t x_, bool alien_) : effect_t(game_) void fx_blood_t::render_to(render::state_t *render) { - render->render(&assets::fx.blood, render_bounds); + double phase; + + phase = (game->now - ttl) + 1; + render->render(phase, &assets::fx.blood, render_bounds); } } // namespace game |