aboutsummaryrefslogtreecommitdiff
path: root/msd
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2005-04-28 16:03:57 +0000
committerN.N. <nimon@users.sourceforge.net>2005-04-28 16:03:57 +0000
commit4447f41d8a048bb3a386982e7d3b9f61231b4a93 (patch)
tree3384be9d08b845f379430173fb9b831f0ca9ad83 /msd
parentebbeac04a2f1f57cac1bfd87b6da0f58c033e9a8 (diff)
MSD Version 0.05
svn path=/trunk/externals/nusmuk/; revision=2847
Diffstat (limited to 'msd')
-rwxr-xr-xmsd/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/msd/main.cpp b/msd/main.cpp
index 28b3276..6e85290 100755
--- a/msd/main.cpp
+++ b/msd/main.cpp
@@ -252,15 +252,16 @@ protected:
{
if (GetInt(argv[0]) == (*mi)->nbr) {
(*mi)->posX = GetFloat(argv[1]);
+ (*mi)->posX2 = GetFloat(argv[1]);
break;
}
}
else
for (i=0, mi=mass; i<nb_mass; mi++, i++)
- {
- if (sym == (*mi)->Id)
+ if (sym == (*mi)->Id) {
(*mi)->posX = GetFloat(argv[1]);
- }
+ (*mi)->posX2 = GetFloat(argv[1]);
+ }
}
void m_set_mobile(int argc,t_atom *argv)