Speeds are integers
This commit is contained in:
parent
858adeb9db
commit
54de6d4afb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user