changeset 195:02285657294c

examples: fix drawable animation delay
author David Demelier <markand@malikania.fr>
date Sat, 07 Nov 2020 21:08:47 +0100
parents 10a7df431d00
children 658ee50b8bcb
files examples/example-drawable.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/example-drawable.c	Sat Nov 07 21:04:04 2020 +0100
+++ b/examples/example-drawable.c	Sat Nov 07 21:08:47 2020 +0100
@@ -92,7 +92,7 @@
 {
 	struct explosion *expl = alloc(1, sizeof (struct explosion));
 
-	animation_init(&expl->anim, &explosion_sprite, 100);
+	animation_init(&expl->anim, &explosion_sprite, 10);
 	animation_drawable(&expl->anim, &expl->dw, x, y);
 
 	/*