summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mikos <metastability@opencompositing.org>2008-01-13 14:21:22 +1030
committerDavid Mikos <metastability@opencompositing.org>2008-01-13 14:21:22 +1030
commit7f76db62c9b4529d19b17ddf3ddaa646e85197fa (patch)
tree45101c4e7fad8466d33634cc039239a0961e7692
parent79dd1aea9bc1ffc2f8134ba9ef237264eca38725 (diff)
downloadsnowglobe-7f76db62c9b4529d19b17ddf3ddaa646e85197fa.tar.gz
snowglobe-7f76db62c9b4529d19b17ddf3ddaa646e85197fa.tar.bz2
Fix starting position of snowflakes in loop.
-rw-r--r--movement.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/movement.c b/movement.c
index 901f190..a2e94f1 100644
--- a/movement.c
+++ b/movement.c
@@ -69,6 +69,8 @@ SnowflakeDrift (CompScreen *s, int index)
z = 0.5;
newSnowflakePosition(as, index);
//}
+ x = snow->x;
+ y = snow->y;
}
float top = 0.5-0.01*snow->size/2;