mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-02-21 18:50:57 +00:00
parent
815026072a
commit
d56a093317
3 changed files with 3 additions and 8 deletions
|
@ -104,7 +104,7 @@ SV_SetConfigstring
|
||||||
===============
|
===============
|
||||||
*/
|
*/
|
||||||
void SV_SetConfigstring (int index, const char *val) {
|
void SV_SetConfigstring (int index, const char *val) {
|
||||||
int len, i;
|
int i;
|
||||||
client_t *client;
|
client_t *client;
|
||||||
|
|
||||||
if ( index < 0 || index >= MAX_CONFIGSTRINGS ) {
|
if ( index < 0 || index >= MAX_CONFIGSTRINGS ) {
|
||||||
|
@ -140,8 +140,6 @@ void SV_SetConfigstring (int index, const char *val) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
len = strlen( val );
|
|
||||||
SV_SendConfigstring(client, index);
|
SV_SendConfigstring(client, index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ SV_Netchan_Encode
|
||||||
==============
|
==============
|
||||||
*/
|
*/
|
||||||
static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
|
static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
|
||||||
long reliableAcknowledge, i, index;
|
long i, index;
|
||||||
byte key, *string;
|
byte key, *string;
|
||||||
int srdc, sbit;
|
int srdc, sbit;
|
||||||
qboolean soob;
|
qboolean soob;
|
||||||
|
@ -51,7 +51,7 @@ static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
|
||||||
msg->readcount = 0;
|
msg->readcount = 0;
|
||||||
msg->oob = qfalse;
|
msg->oob = qfalse;
|
||||||
|
|
||||||
reliableAcknowledge = MSG_ReadLong(msg);
|
/* reliableAcknowledge = */ MSG_ReadLong(msg);
|
||||||
|
|
||||||
msg->oob = soob;
|
msg->oob = soob;
|
||||||
msg->bit = sbit;
|
msg->bit = sbit;
|
||||||
|
|
|
@ -298,7 +298,6 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra
|
||||||
int l;
|
int l;
|
||||||
int clientarea, clientcluster;
|
int clientarea, clientcluster;
|
||||||
int leafnum;
|
int leafnum;
|
||||||
int c_fullsend;
|
|
||||||
byte *clientpvs;
|
byte *clientpvs;
|
||||||
byte *bitvector;
|
byte *bitvector;
|
||||||
|
|
||||||
|
@ -318,8 +317,6 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra
|
||||||
|
|
||||||
clientpvs = CM_ClusterPVS (clientcluster);
|
clientpvs = CM_ClusterPVS (clientcluster);
|
||||||
|
|
||||||
c_fullsend = 0;
|
|
||||||
|
|
||||||
for ( e = 0 ; e < sv.num_entities ; e++ ) {
|
for ( e = 0 ; e < sv.num_entities ; e++ ) {
|
||||||
ent = SV_GentityNum(e);
|
ent = SV_GentityNum(e);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue