final cleaned revision (I hope)

This commit is contained in:
Borja Ferrer
2005-09-16 23:48:51 +00:00
parent 4b1769f457
commit ebd4974c75
41 changed files with 2308 additions and 1339 deletions

View File

@@ -89,8 +89,10 @@ bool CPlayer::Connect(const char* connectname, const char* ipaddress)
time = gpGlobals->time;
bot = IsBot();
death_killer = 0;
memset(flags, 0, sizeof(flags));
memset(weapons, 0, sizeof(weapons));
initialized = true;
authorized = false;
@@ -180,6 +182,7 @@ int XVars::put(AMX* p, cell* v)
head[num].value = v;
head[num].amx = p;
return num++;
}
@@ -237,7 +240,10 @@ void TeamIds::registerTeam(const char* n, int s)
}
*a = new TeamEle(n, s);
if (*a == 0) return;
if (*a == 0)
return;
newTeam |= (1<<(*a)->tid);
}