From: Samual Date: Mon, 19 Dec 2011 13:26:35 +0000 (-0500) Subject: Show maxclients in who command X-Git-Tag: xonotic-v0.6.0~188^2~28^2~106 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=92292e616895340aa50f3063150721496e0ccf33;p=xonotic%2Fxonotic-data.pk3dir.git Show maxclients in who command --- diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index 06b0d8f0f..ceedc775c 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -330,7 +330,7 @@ void CommonCommand_time(float request, entity caller) } } -void CommonCommand_timein(float request, entity caller) +void CommonCommand_timein(float request, entity caller) // todo entirely re-write this { switch(request) { @@ -495,7 +495,7 @@ void CommonCommand_who(float request, entity caller, float argc) ++total_listed_players; } - print_to(caller, strcat("Finished listing ", ftos(total_listed_players), " client(s).")); + print_to(caller, strcat("Finished listing ", ftos(total_listed_players), " client(s) out of ", ftos(maxclients), " slots.")); return; // never fall through to usage }