Verified Net_SetConVar and Net_SignonState
This commit is contained in:
parent
ad466a06f4
commit
066b9fe269
@ -54,6 +54,7 @@ void Net_StringCmd(CBitRead& bitbuf)
|
|||||||
bitbuf.ReadString(commandBuffer, sizeof(commandBuffer));
|
bitbuf.ReadString(commandBuffer, sizeof(commandBuffer));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// verified
|
||||||
void Net_SetConVar(CBitRead& bitbuf)
|
void Net_SetConVar(CBitRead& bitbuf)
|
||||||
{
|
{
|
||||||
typedef struct cvar_s
|
typedef struct cvar_s
|
||||||
@ -71,10 +72,12 @@ void Net_SetConVar(CBitRead& bitbuf)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// verified
|
||||||
void Net_SignonState(CBitRead& bitbuf)
|
void Net_SignonState(CBitRead& bitbuf)
|
||||||
{
|
{
|
||||||
const int signonState = bitbuf.ReadByte();
|
const int signonState = bitbuf.ReadByte();
|
||||||
//assert(signonState == SIGNONSTATE_PRESPAWN);
|
assert(signonState >= SIGNONSTATE_NONE &&
|
||||||
|
signonState <= SIGNONSTATE_CHANGELEVEL);
|
||||||
const int spawnCount = bitbuf.ReadLong();
|
const int spawnCount = bitbuf.ReadLong();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user