minor fixes.

This commit is contained in:
BotoX
2017-02-04 23:30:54 +01:00
parent fb5c0bcb7c
commit 1448ceeee1
3 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -98,10 +98,10 @@ public Action Command_Status(int client, const char[] command, int args)
sServerName);
#if defined _serverfps_included
PrintToConsole(client, "tickrate : %.2f/%.2f (%d%%%%)",
PrintToConsole(client, "tickrate : %.2f/%.2f (%d%%)",
fServerFPS, fServerTickRate, RoundToNearest((fServerFPS / fServerTickRate) * 100));
#else
PrintToConsole(client, "tickrate : %d/%d (%d%%%%)",
PrintToConsole(client, "tickrate : %d/%d (%d%%)",
iTickRate, iServerTickRate, RoundToNearest((float(iTickRate) / float(iServerTickRate)) * 100));
#endif