Commit e4d41d19 authored by Alexander Shabarshin's avatar Alexander Shabarshin

method clean now called prepare

parent c963a456
......@@ -327,7 +327,7 @@ namespace TRC
return *n;
}
void clean()
void prepare()
{
c[2] = c[1];
c[1] = c[0];
......@@ -386,10 +386,10 @@ namespace TRC
int attach(Entity* e, const char* n, unsigned short k = 1, char c = NC);
int clean()
int prepare()
{
int n = v.size();
for(int i=0;i<n;i++) v[i]->clean();
for(int i=0;i<n;i++) v[i]->prepare();
return n;
}
......
......@@ -94,6 +94,6 @@ int main()
i2 = at("single2");
}
} u1;
sys->clean();
sys->prepare();
u1.step();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment