summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-11-07 08:02:45 +0000
committerIan C <ianc@noddybox.co.uk>2018-11-07 08:02:45 +0000
commite32b3db3ed1ffae943e6b965b9905df5cb687120 (patch)
tree670438e39ce7960bf9e494e0a31bd6960ab7a02f
parent831c143a2dbf32eafa6f9800c866dfce687263ac (diff)
Small tweak to firework parameters.
-rw-r--r--xd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xd.c b/xd.c
index 5dc9773..638aa2f 100644
--- a/xd.c
+++ b/xd.c
@@ -4981,7 +4981,7 @@ static void FireworkDemo(void)
firework[f].y = height;
firework[f].x = RND2(width - 100, 100);
firework[f].dx = (RND(100) / 100.0) - 0.5;
- firework[f].dy = -(RND(100) / 100.0);
+ firework[f].dy = -(RND(100) / 100.0) - 0.4;
}
}