Change speed units to %.

This commit is contained in:
Christian Speckner 2018-07-11 20:49:37 +02:00
parent 4f48efc350
commit 03e2c275b7
1 changed files with 2 additions and 2 deletions

View File

@ -65,9 +65,9 @@ namespace {
stringstream ss;
ss
<< (speed >= 0 ? "x " : "/ ")
<< std::setw(4) << std::fixed << std::setprecision(2)
<< (1 + static_cast<float>(speed < 0 ? -speed : speed) / 100);
<< (unmapSpeed(speed) * 100)
<< "%";
return ss.str();
}