Mercurial > audlegacy-plugins
diff src/paranormal/misc.c @ 302:b185ed2f8fa2 trunk
[svn] - improve beat detection
| author | nenolod |
|---|---|
| date | Wed, 22 Nov 2006 22:59:26 -0800 |
| parents | 0d826917c56f |
| children | 3b034150d31e |
line wrap: on
line diff
--- a/src/paranormal/misc.c Wed Nov 22 22:46:16 2006 -0800 +++ b/src/paranormal/misc.c Wed Nov 22 22:59:26 2006 -0800 @@ -88,7 +88,7 @@ } /* check if we need to change direction yet, and if so, do so. */ - if (pn_is_new_beat() == TRUE) + if (pn_new_beat == TRUE) opaque_data->dir = (FloaterDirection) rand() % 15; /* sum of all dir values */ /* now adjust the direction so we stay in boundary */
