Fixed so that player must pass one ClientInfoChanged before cs_set_user* works.

This commit is contained in:
Johnny Bergström
2004-03-29 14:19:02 +00:00
parent 1428a87edc
commit ffae6da15e
3 changed files with 53 additions and 24 deletions

View File

@ -11,8 +11,7 @@
CCstrikePlayer::CCstrikePlayer()
{
SetModelled(false);
SetInspectModel(false);
Initialize();
}
bool CCstrikePlayer::GetModelled()
@ -46,4 +45,21 @@ bool CCstrikePlayer::GetInspectModel()
void CCstrikePlayer::SetInspectModel(bool inspectModelIn)
{
inspectModel = inspectModelIn;
}
bool CCstrikePlayer::GetOnline()
{
return online;
}
void CCstrikePlayer::SetOnline(bool onlineIn)
{
online = onlineIn;
}
void CCstrikePlayer::Initialize()
{
SetModelled(false);
SetInspectModel(false);
SetOnline(false);
}