diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-08-24 17:56:44 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-08-24 17:56:44 +0000 |
commit | 086c2639def9c1f002d17ce22e1e7a88d9aa0b6b (patch) | |
tree | 92cefa36f8330e328d39a62443285f439e39e6fb | |
parent | 0d02903290a4fcaba73895521ecef42f4b4ca1e6 (diff) |
debug interactors
svn path=/trunk/externals/pmpd/; revision=17336
-rw-r--r-- | pmpd2d_interactor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pmpd2d_interactor.c b/pmpd2d_interactor.c index 3e956bc..fb9cbc5 100644 --- a/pmpd2d_interactor.c +++ b/pmpd2d_interactor.c @@ -70,12 +70,12 @@ void pmpd2d_iCircle(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) Kt = atom_getfloatarg(6, argc, argv); powert = atom_getfloatarg(7, argc, argv); - if (powert == 0) power = 1; + if (powert == 0) powert = 1; Rmin = 0; - if ((argc>=9) && (argv[6].a_type == A_FLOAT)) { Rmin = (atom_getfloatarg(8,argc,argv));} + if ((argc>=9) && (argv[8].a_type == A_FLOAT)) { Rmin = (atom_getfloatarg(8,argc,argv));} Rmax = 1000000; - if ((argc>=10) && (argv[7].a_type == A_FLOAT)) { Rmax = (atom_getfloatarg(9,argc,argv));} + if ((argc>=10) && (argv[9].a_type == A_FLOAT)) { Rmax = (atom_getfloatarg(9,argc,argv));} if ((argc>0) && (argv[0].a_type == A_FLOAT) && (atom_getfloatarg(0,argc,argv) == -1)) // all { |