mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Patches by symlink.
#5313 - EF_CONNECTION set on wrong eFlags #5314 - snc drawn in nirvana instead at lagometer
This commit is contained in:
parent
c84377854a
commit
7d8b751afd
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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...
|
||||
|
|
Loading…
Reference in a new issue