r5772 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Feb 6 02:32:55 EST 2009


Author: div0
Date: 2009-02-06 02:32:54 -0500 (Fri, 06 Feb 2009)
New Revision: 5772

Modified:
   trunk/data/qcsrc/server/arena.qc
   trunk/data/qcsrc/server/cl_client.qc
   trunk/data/qcsrc/server/cl_weapons.qc
   trunk/data/qcsrc/server/keyhunt.qc
   trunk/data/qcsrc/server/w_porto.qc
Log:
remove some trailing newlines from centerprints ([ 2555673 ] centerprint / overlap patch (server))


Modified: trunk/data/qcsrc/server/arena.qc
===================================================================
--- trunk/data/qcsrc/server/arena.qc	2009-02-06 07:29:11 UTC (rev 5771)
+++ trunk/data/qcsrc/server/arena.qc	2009-02-06 07:32:54 UTC (rev 5772)
@@ -189,7 +189,7 @@
 	if(time < warmup && self.spawned)
 	{
 		if(champion)
-			msg = strcat(msg, "The Champion is ", champion.netname, "^7\n\n\n");
+			msg = strcat(msg, "The Champion is ", champion.netname, "^7");
 
 		if(f)
 			msg = strcat(msg, "Round will start in ", ftos(f));

Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2009-02-06 07:29:11 UTC (rev 5771)
+++ trunk/data/qcsrc/server/cl_client.qc	2009-02-06 07:32:54 UTC (rev 5772)
@@ -875,9 +875,9 @@
 
 		if(g_assault) {
 			if(self.team == assault_attacker_team)
-				centerprint(self, "You are attacking!\n");
+				centerprint(self, "You are attacking!");
 			else
-				centerprint(self, "You are defending!\n");
+				centerprint(self, "You are defending!");
 		}
 
 		target_voicescript_clear(self);

Modified: trunk/data/qcsrc/server/cl_weapons.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weapons.qc	2009-02-06 07:29:11 UTC (rev 5771)
+++ trunk/data/qcsrc/server/cl_weapons.qc	2009-02-06 07:32:54 UTC (rev 5772)
@@ -444,7 +444,7 @@
 			if(dt >= 1 && dt <= 5)
 				self.nixnex_lastinfotime = -42;
 			else
-				centerprint(self, strcat("\n\n^2Active weapon: ^3", W_Name(nixnex_weapon), "\n"));
+				centerprint(self, strcat("\n\n^2Active weapon: ^3", W_Name(nixnex_weapon)));
 		}
 		if(self.nixnex_lastinfotime != dt)
 		{

Modified: trunk/data/qcsrc/server/keyhunt.qc
===================================================================
--- trunk/data/qcsrc/server/keyhunt.qc	2009-02-06 07:29:11 UTC (rev 5771)
+++ trunk/data/qcsrc/server/keyhunt.qc	2009-02-06 07:32:54 UTC (rev 5772)
@@ -623,11 +623,11 @@
 		{
 			if(head.team == kh_interferemsg_team)
 				if(head.kh_next)
-					centerprint(head, "All keys are in your team's hands!\n\nMeet the other key carriers ^1NOW^7!\n");
+					centerprint(head, "All keys are in your team's hands!\n\nMeet the other key carriers ^1NOW^7!");
 				else
-					centerprint(head, "All keys are in your team's hands!\n\nHelp the key carriers to meet!\n");
+					centerprint(head, "All keys are in your team's hands!\n\nHelp the key carriers to meet!");
 			else
-				centerprint(head, strcat("All keys are in the ", ColoredTeamName(kh_interferemsg_team), "^7's hands!\n\nInterfere ^1NOW^7!\n"));
+				centerprint(head, strcat("All keys are in the ", ColoredTeamName(kh_interferemsg_team), "^7's hands!\n\nInterfere ^1NOW^7!"));
 		}
 	}
 
@@ -714,7 +714,7 @@
 			// don't actually GIVE him the -nn points, just log
 		kh_Scores_Event(attacker, world, "push", cvar("g_balance_keyhunt_score_push"), 0);
 		PlayerScore_Add(attacker, SP_KH_PUSHES, 1);
-		centerprint(attacker, "Your push is the best!\n\n\n");
+		centerprint(attacker, "Your push is the best!");
 		bprint("The ", ColoredTeamName(teem), "^7 could not take care of the ", lostkey.netname, "^7 when ", attacker.netname, "^7 came\n");
 	}
 	else

Modified: trunk/data/qcsrc/server/w_porto.qc
===================================================================
--- trunk/data/qcsrc/server/w_porto.qc	2009-02-06 07:29:11 UTC (rev 5771)
+++ trunk/data/qcsrc/server/w_porto.qc	2009-02-06 07:32:54 UTC (rev 5772)
@@ -113,7 +113,7 @@
 		{
 			sound(self, CHAN_PROJECTILE, "porto/create.wav", VOL_BASE, ATTN_NORM);
 			trace_plane_normal = norm;
-			centerprint(self.owner, "^1In^7-portal created.\n");
+			centerprint(self.owner, "^1In^7-portal created.");
 			self.right_vector = self.right_vector - 2 * trace_plane_normal * (self.right_vector * norm);
 			self.angles = vectoangles(self.velocity - 2 * trace_plane_normal * (self.velocity * norm));
 		}
@@ -133,7 +133,7 @@
 			{
 				sound(self, CHAN_PROJECTILE, "porto/create.wav", VOL_BASE, ATTN_NORM);
 				trace_plane_normal = norm;
-				centerprint(self.owner, "^4Out^7-portal created.\n");
+				centerprint(self.owner, "^4Out^7-portal created.");
 				W_Porto_Success();
 			}
 			else




More information about the nexuiz-commits mailing list