no message

This commit is contained in:
Andrei Drexler 2002-03-07 14:51:57 +00:00
parent 00f3ae97bb
commit f404015961
2 changed files with 12 additions and 2 deletions

View file

@ -5,6 +5,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Log$ // $Log$
// Revision 1.40 2002/03/07 14:51:57 makro
// no message
//
// Revision 1.39 2002/02/26 04:02:53 jbravo // Revision 1.39 2002/02/26 04:02:53 jbravo
// Getting rid of the triangles over teammates heads by making cg_drawFriend's // Getting rid of the triangles over teammates heads by making cg_drawFriend's
// default 0 // default 0
@ -2183,7 +2186,9 @@ void CG_Init( int serverMessageNum, int serverCommandSequence, int clientNum ) {
CG_RegisterClients(); // if low on memory, some clients will be deferred CG_RegisterClients(); // if low on memory, some clients will be deferred
//Makro - this should be moved out of missionpack eventually
#ifdef MISSIONPACK #ifdef MISSIONPACK
CG_LoadingString( "hud menu" );
CG_AssetCache(); CG_AssetCache();
CG_LoadHudMenu(); // load new hud stuff CG_LoadHudMenu(); // load new hud stuff
#endif #endif

View file

@ -5,6 +5,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Log$ // $Log$
// Revision 1.19 2002/03/07 14:51:57 makro
// no message
//
// Revision 1.18 2002/02/23 18:07:46 slicer // Revision 1.18 2002/02/23 18:07:46 slicer
// Changed Sniper code and Cam code // Changed Sniper code and Cam code
// //
@ -1259,8 +1262,10 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo
if ( (cvar_val < cheats[i].low || cvar_val > cheats[i].high) ) if ( (cvar_val < cheats[i].low || cvar_val > cheats[i].high) )
{ {
CG_Printf("This server restricts %s to be between %1.11f and %1.11f\n",cheats[i].cvar,cheats[i].low, cheats[i].high); CG_Printf("This server restricts %s to be between %1.11f and %1.11f\n",cheats[i].cvar,cheats[i].low, cheats[i].high);
trap_Cvar_Set("RQ3_CvarKickReason", cheats[i].cvar ); //Makro - a Com_Error would be nicer
trap_SendConsoleCommand(va("disconnect\n")); //trap_Cvar_Set("RQ3_CvarKickReason", cheats[i].cvar );
//trap_SendConsoleCommand(va("disconnect\n"));
Com_Error( ERR_DISCONNECT, "WARNING: You have been disconnected from the server because %s was out of range (%1.3f - %1.3f)",cheats[i].cvar,cheats[i].low, cheats[i].high);
} }
} }