Speeds are integers

This commit is contained in:
DennisOSRM
2011-10-04 15:44:37 +02:00
parent 858adeb9db
commit 54de6d4afb
+1 -1
View File
@@ -162,7 +162,7 @@ public:
}
}
if ( maxspeed != "" ) {
double maxspeedNumber = atof( maxspeed.c_str() );
double maxspeedNumber = atoi( maxspeed.c_str() );
if(maxspeedNumber != 0) {
w.maximumSpeed = maxspeedNumber;
}