mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
only 1 decimal for timescale in menu
This commit is contained in:
parent
b4d13836ea
commit
ac9b204ffd
@ -391,11 +391,11 @@ stock void PrettyishTimescale(char[] buffer, int size, float ts, float min, floa
|
||||
|
||||
if (ts == 1.0)
|
||||
{
|
||||
FormatEx(buffer, size, "1.00");
|
||||
FormatEx(buffer, size, "1.0");
|
||||
return;
|
||||
}
|
||||
|
||||
FormatEx(buffer, size, "0.%02d", RoundFloat(ts * 100.0));
|
||||
FormatEx(buffer, size, "0.%d", RoundFloat(ts * 10.0));
|
||||
}
|
||||
|
||||
stock bool GuessBestMapName(ArrayList maps, const char input[PLATFORM_MAX_PATH], char output[PLATFORM_MAX_PATH])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user