diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-04-16 13:00:59 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-04-16 13:00:59 +0000 |
commit | 42f20832cb998ee5c4fd535ea47f1b0c6cd8c902 (patch) | |
tree | 9206f9bd828d8c7de79bf15dde5b84b015570202 /pmpd3d_core.c | |
parent | 946d509ee40b5c986004da5193205d490a7f7176 (diff) |
debug : delMass failed to relocate few links
svn path=/trunk/externals/pmpd/; revision=17298
Diffstat (limited to 'pmpd3d_core.c')
-rw-r--r-- | pmpd3d_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pmpd3d_core.c b/pmpd3d_core.c index f884e44..0ae88e1 100644 --- a/pmpd3d_core.c +++ b/pmpd3d_core.c @@ -608,7 +608,7 @@ void pmpd3d_delMass(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv) // post("mass %d : relocate link %d to mass %d",i, j, i-nb_toremove); x->link[j].mass1 = &x->mass[i-nb_toremove]; } - else if (x->link[j].mass2->num == i ) + if (x->link[j].mass2->num == i ) { // post("mass %d : relocate link2 %d to mass %d",i, j, i-nb_toremove); x->link[j].mass2 = &x->mass[i-nb_toremove]; |