From 42f20832cb998ee5c4fd535ea47f1b0c6cd8c902 Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Wed, 16 Apr 2014 13:00:59 +0000 Subject: debug : delMass failed to relocate few links svn path=/trunk/externals/pmpd/; revision=17298 --- pmpd3d_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pmpd3d_core.c') 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]; -- cgit v1.2.1