]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use multiple prints for ProQuake compatibility in status commands
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Apr 2010 23:28:13 +0000 (23:28 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Apr 2010 23:28:13 +0000 (23:28 +0000)
(default layout only)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10068 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 957ab8626a0e3fc82086113970d57456f881ad2a..8fa7017fa89c3f4702f4053b398f7f3dde8cc371 100644 (file)
@@ -174,8 +174,14 @@ void Host_Status_f (void)
                
                if (in == 0) // default layout
                {
-                       print ("#%-3u %-16.16s  %3i  %2i:%02i:%02i\n", i+1, client->name, frags, hours, minutes, seconds);
-                       print ("   %s\n", ip);
+                       // LordHavoc: we must use multiple prints for ProQuake compatibility
+                       print ("#%-3u ", i+1);
+                       print ("%-16.16s ", client->name);
+                       print ("%4i  ", frags);
+                       print ("%2i:%02i:%02i\n   ", hours, minutes, seconds);
+                       print ("%s\n", ip);
+//                     print ("#%-3u %-16.16s  %3i  %2i:%02i:%02i\n", i+1, client->name, frags, hours, minutes, seconds);
+//                     print ("   %s\n", ip);
                }
                else if (in == 1) // extended layout
                {