r1773 - in branches/nexuiz-2.0/data/qcsrc: menu/custom/creategame server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 23 14:20:51 EDT 2006


Author: div0
Date: 2006-07-23 14:20:51 -0400 (Sun, 23 Jul 2006)
New Revision: 1773

Modified:
   branches/nexuiz-2.0/data/qcsrc/menu/custom/creategame/maps.qc
   branches/nexuiz-2.0/data/qcsrc/server/bots.qc
   branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc
Log:
see #1772 :P


Modified: branches/nexuiz-2.0/data/qcsrc/menu/custom/creategame/maps.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/menu/custom/creategame/maps.qc	2006-07-23 18:18:11 UTC (rev 1772)
+++ branches/nexuiz-2.0/data/qcsrc/menu/custom/creategame/maps.qc	2006-07-23 18:20:51 UTC (rev 1773)
@@ -86,7 +86,7 @@
 		lHandle = fopen( strcat( lStripped, ".txt" ), FILE_READ );
 		if( lHandle < 0 ) {
 			lTitle = String_Zone( lName );
-			lDescription = String_Zone( strcat( "--NO INFORMATION AVAILABLE--\n", lFilename ) );
+			lDescription = String_Zone( strcat( "\n--NO INFORMATION AVAILABLE--\n", lFilename ) );
 		} else {
 			// uncomment this line and comment the other if you have the old map info files
 			//lTitle = String_Zone( lName );

Modified: branches/nexuiz-2.0/data/qcsrc/server/bots.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/bots.qc	2006-07-23 18:18:11 UTC (rev 1772)
+++ branches/nexuiz-2.0/data/qcsrc/server/bots.qc	2006-07-23 18:20:51 UTC (rev 1773)
@@ -1706,7 +1706,7 @@
 		}
 		e = e.chain;
 	}
-	dprint(strcat("relink - ", ftos(currentbots), " bots seen.\n"));
+	dprint(strcat("relink: ", ftos(currentbots), " bots seen.\n"));
 	bot_strategytoken = bot_list;
 };
 

Modified: branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc	2006-07-23 18:18:11 UTC (rev 1772)
+++ branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc	2006-07-23 18:20:51 UTC (rev 1773)
@@ -307,7 +307,7 @@
 
 void PrintWelcomeMessage(entity pl)
 {
-	string s, mutator, modifications;
+	string s, mutator, modifications, padding;
 
 	/*if(self.welcomemessage_time < time)
 		return;
@@ -410,7 +410,13 @@
 
 	s = strcat(s, "\n");
 	if(cvar("fraglimit"))
-		s = strcat(s, "\n^8frag limit: ^7", cvar_string("fraglimit"));
+	{
+		padding = "";
+		if(cvar("timelimit"))
+			padding = "        ";
+			//        " minutes"
+		s = strcat(s, "\n^8frag limit: ^7", cvar_string("fraglimit"), padding);
+	}
 	if(cvar("timelimit"))
 		s = strcat(s, "\n^8time limit: ^7", cvar_string("timelimit"), " minutes");
 




More information about the nexuiz-commits mailing list