X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fpyro.c;h=3741106840494b0e5689fb2ecbb34bf4b77aec17;hp=c2297636dda26fabfc2fc96600013178a340a41d;hb=447db08c956099b3b183886729108bf5b364c4b8;hpb=2d04c4f22466851aedb6ed0f2919d148f726b889 diff --git a/hacks/pyro.c b/hacks/pyro.c index c2297636..37411068 100644 --- a/hacks/pyro.c +++ b/hacks/pyro.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992, 1994, 1996, 1998, 2001 +/* xscreensaver, Copyright (c) 1992, 1994, 1996, 1998, 2001, 2005 * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its @@ -135,7 +135,7 @@ shrapnel (struct projectile *parent, Display *dpy, Colormap cmap) p->y = parent->y; v=random () % PI_2000; p->dx =(sin_cache[v]) + parent->dx; - p->dy =(cos_cache[v]) + parent->dx; + p->dy =(cos_cache[v]) + parent->dy; p->decay = (random () % 50) - 60; p->size = (parent->size * 2) / 3; p->fuse = 0;