projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.33.tar.gz
[xscreensaver]
/
hacks
/
glx
/
providence.c
diff --git
a/hacks/glx/providence.c
b/hacks/glx/providence.c
index 3bd49b0a9fc0ff97788264409c55f64d9603be41..fcf8d316f540206ab8ed51cd1d07a1f09ba4e418 100644
(file)
--- a/
hacks/glx/providence.c
+++ b/
hacks/glx/providence.c
@@
-274,7
+274,7
@@
static void update_particles(providencestruct *mp)
int x = mp->eyeparticles[i][1] + random()%(cos(mp->theta) < 0.0 ? 8 : 16);
/* reset if dead */
int x = mp->eyeparticles[i][1] + random()%(cos(mp->theta) < 0.0 ? 8 : 16);
/* reset if dead */
- if(x > EYELENGTH || random()%(cos(mp->theta) < 0.0 ? 40 : 10) == 0) {
+ if(x >
=
EYELENGTH || random()%(cos(mp->theta) < 0.0 ? 40 : 10) == 0) {
/* if(x > EYELENGTH || (x > EYELENGTH/(2/3.0) && random()%7 == 0)) { */
mp->eyeparticles[i][0] = random()%LOOKUPSIZE;
/* if(x > EYELENGTH || (x > EYELENGTH/(2/3.0) && random()%7 == 0)) { */
mp->eyeparticles[i][0] = random()%LOOKUPSIZE;