aboutsummaryrefslogtreecommitdiff
path: root/vfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'vfx.c')
-rw-r--r--vfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vfx.c b/vfx.c
index 69f292f..1378158 100644
--- a/vfx.c
+++ b/vfx.c
@@ -26,7 +26,7 @@ vfx_step(Vfx *v, ulong Δt)
static void
vfx_draw(Vfx *v, Image *dst)
{
- v->a->draw(v->a, dst, v->p);
+ v->a->draw(v->a, dst, subpt(v->p, divpt(subpt(v->a->r.max, v->a->r.min), 2)));
}
Vfx *