Patches by symlink.

#5313 - EF_CONNECTION set on wrong eFlags
#5314 - snc drawn in nirvana instead at lagometer
This commit is contained in:
Zack Middleton 2012-02-06 21:28:40 +00:00
parent c84377854a
commit 7d8b751afd
2 changed files with 3 additions and 3 deletions

View file

@ -1723,7 +1723,7 @@ static void CG_DrawLagometer( void ) {
trap_R_SetColor( NULL );
if ( cg_nopredict.integer || cg_synchronousClients.integer ) {
CG_DrawBigString( ax, ay, "snc", 1.0 );
CG_DrawBigString( x, y, "snc", 1.0 );
}
CG_DrawDisconnect();

View file

@ -1151,9 +1151,9 @@ void ClientEndFrame( gentity_t *ent ) {
// add the EF_CONNECTION flag if we haven't gotten commands recently
if ( level.time - ent->client->lastCmdTime > 1000 ) {
ent->s.eFlags |= EF_CONNECTION;
ent->client->ps.eFlags |= EF_CONNECTION;
} else {
ent->s.eFlags &= ~EF_CONNECTION;
ent->client->ps.eFlags &= ~EF_CONNECTION;
}
ent->client->ps.stats[STAT_HEALTH] = ent->health; // FIXME: get rid of ent->health...