r1772 - in trunk/data/qcsrc: menu/custom/creategame server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Jul 23 14:18:11 EDT 2006
Author: div0
Date: 2006-07-23 14:18:11 -0400 (Sun, 23 Jul 2006)
New Revision: 1772
Modified:
trunk/data/qcsrc/menu/custom/creategame/maps.qc
trunk/data/qcsrc/server/bots.qc
trunk/data/qcsrc/server/teamplay.qc
Log:
fix: misleading dprint, error message for missing map.txt, timelimit/fraglimit alignment
Modified: trunk/data/qcsrc/menu/custom/creategame/maps.qc
===================================================================
--- trunk/data/qcsrc/menu/custom/creategame/maps.qc 2006-07-23 15:06:35 UTC (rev 1771)
+++ trunk/data/qcsrc/menu/custom/creategame/maps.qc 2006-07-23 18:18:11 UTC (rev 1772)
@@ -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: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc 2006-07-23 15:06:35 UTC (rev 1771)
+++ trunk/data/qcsrc/server/bots.qc 2006-07-23 18:18:11 UTC (rev 1772)
@@ -1707,7 +1707,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: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc 2006-07-23 15:06:35 UTC (rev 1771)
+++ trunk/data/qcsrc/server/teamplay.qc 2006-07-23 18:18:11 UTC (rev 1772)
@@ -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