more work on optimizing cpu usage
reverted active grenades on TASK_* items
This commit is contained in:
parent
43e37e9818
commit
66c33472ff
8 changed files with 91 additions and 180 deletions
|
|
@ -121,4 +121,9 @@ static inline int EntOffsetOfEntity(const edict_t *ent)
|
|||
static inline bool IsEntityNull (const edict_t *ent)
|
||||
{
|
||||
return !ent || !EntOffsetOfEntity (ent);
|
||||
}
|
||||
}
|
||||
|
||||
static inline int GetTeam (edict_t *ent)
|
||||
{
|
||||
return g_clients[IndexOfEntity (ent) - 1].team;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue