Attempt to fix up am41036

This commit is contained in:
David Anderson
2006-08-24 21:13:52 +00:00
parent 58abc3a655
commit bab5bb5a72
5 changed files with 37 additions and 18 deletions

View File

@@ -40,7 +40,8 @@ void CPlayer::Init(edict_t* e, int i)
pEdict = e;
initialized = false;
ingame = false;
bot = false;
bot_value = false;
bot_cached = false;
authorized = false;
current = 0;
@@ -88,7 +89,8 @@ void CPlayer::Disconnect()
}
queries.clear();
bot = 0;
bot_value = false;
bot_cached = false;
menu = 0;
newmenu = -1;
}
@@ -114,10 +116,11 @@ int CPlayer::NextHUDChannel()
bool CPlayer::Connect(const char* connectname, const char* ipaddress)
{
bot_value = false;
bot_cached = false;
name.assign(connectname);
ip.assign(ipaddress);
time = gpGlobals->time;
bot = IsBot();
death_killer = 0;
menu = 0;
newmenu = -1;