my forever loop runs forever when it should not
git-svn-id: svn://anubis/misc/OdeWorld@147 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
6723e1bf3b
commit
9b78f00f69
@ -116,6 +116,7 @@ vector<dGeomID> OdeWorld::loadPhy(const std::string & path,
|
|||||||
string n = line.substr(pos, pos2 - pos);
|
string n = line.substr(pos, pos2 - pos);
|
||||||
float f = atof(n.c_str());
|
float f = atof(n.c_str());
|
||||||
args.push_back(f);
|
args.push_back(f);
|
||||||
|
pos = pos2 + 1;
|
||||||
}
|
}
|
||||||
cerr << "Found a '" << type << "' of name '" << name << "' with " << args.size() << " args" << endl;
|
cerr << "Found a '" << type << "' of name '" << name << "' with " << args.size() << " args" << endl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user