From 9b78f00f695657e38bb2633eb43a899c1f4b919f Mon Sep 17 00:00:00 2001 From: josh Date: Sun, 27 Sep 2009 23:18:15 +0000 Subject: [PATCH] my forever loop runs forever when it should not git-svn-id: svn://anubis/misc/OdeWorld@147 bd8a9e45-a331-0410-811e-c64571078777 --- OdeWorld.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/OdeWorld.cc b/OdeWorld.cc index 244b251..b0ebeaa 100644 --- a/OdeWorld.cc +++ b/OdeWorld.cc @@ -116,6 +116,7 @@ vector OdeWorld::loadPhy(const std::string & path, string n = line.substr(pos, pos2 - pos); float f = atof(n.c_str()); args.push_back(f); + pos = pos2 + 1; } cerr << "Found a '" << type << "' of name '" << name << "' with " << args.size() << " args" << endl; }