summaryrefslogtreecommitdiff
path: root/source/sv_ents.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_ents.c')
-rw-r--r--source/sv_ents.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/sv_ents.c b/source/sv_ents.c
index d60112d..79e6fdc 100644
--- a/source/sv_ents.c
+++ b/source/sv_ents.c
@@ -394,7 +394,7 @@ void SV_BuildClientFrame( client_t *client ) {
frame->ps = *ps;
// grab the current clientNum
- if( svs.gameFeatures & GMF_CLIENTNUM ) {
+ if( g_features->integer & GMF_CLIENTNUM ) {
frame->clientNum = clent->client->clientNum;
} else {
frame->clientNum = client->number;
@@ -411,7 +411,7 @@ void SV_BuildClientFrame( client_t *client ) {
ent = EDICT_POOL( client, e );
// ignore entities not in use
- if( ( svs.gameFeatures & GMF_PROPERINUSE ) && !ent->inuse ) {
+ if( ( g_features->integer & GMF_PROPERINUSE ) && !ent->inuse ) {
continue;
}
@@ -484,7 +484,7 @@ void SV_BuildClientFrame( client_t *client ) {
// XXX: hide this enitity from renderer
if( ( client->protocol != PROTOCOL_VERSION_Q2PRO ||
client->settings[CLS_RECORDING] ) &&
- ( svs.gameFeatures & GMF_CLIENTNUM ) &&
+ ( g_features->integer & GMF_CLIENTNUM ) &&
e == frame->clientNum + 1 && ent != clent )
{
state->modelindex = 0;