Added qvm_build feature

Fixed up outlaw forgive notices
This commit is contained in:
Paradox460 committed 2008-05-19 23:34:36 +00:00
1 parent 9433200a74
commit 74c26907c5
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -550,7 +550,7 @@ static void ClientSpreeDecay( gentity_t *ent, int msec )
if( !ent->client->pers.statscounters.spreebleeds )
{
ent->client->pers.bleeder = qfalse;
trap_SendServerCommand( ent-g_entities,
trap_SendServerCommand( -1,
va( "print \"%s^7 has been ^2forgiven ^7by their base\n\"", ent->client->pers.netname ) );
if( client->sess.sessionTeam != TEAM_SPECTATOR ||
client->sess.spectatorState != SPECTATOR_SCOREBOARD )
+12
View File
@@ -23,6 +23,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "g_local.h"
#define QVM_VARIANT "P-G-QVM"
#define QVM_VERSION "SVN r58"
#define QVM_URL "http://p-g-qvm.googlecode.com"
level_locals_t level;
typedef struct
@@ -244,6 +248,8 @@ static cvarTable_t gameCvarTable[ ] =
{ NULL, "sv_mapname", "", CVAR_SERVERINFO | CVAR_ROM, 0, qfalse },
{ NULL, "P", "", CVAR_SERVERINFO | CVAR_ROM, 0, qfalse },
{ NULL, "ff", "0", CVAR_SERVERINFO | CVAR_ROM, 0, qfalse },
{ NULL, "qvm_build", "", CVAR_SERVERINFO | CVAR_ROM, 0, qfalse },
// latched vars
@@ -747,6 +753,12 @@ void G_InitGame( int levelTime, int randomSeed, int restart )
level.snd_fry = G_SoundIndex( "sound/misc/fry.wav" ); // FIXME standing in lava / slime
trap_Cvar_Set( "qvm_build", va( "%s %s %s %s",
QVM_VARIANT,
QVM_VERSION,
QVM_URL,
__DATE__ ) );
if( g_logFile.string[ 0 ] )
{
if( g_logFileSync.integer )