0bot: allow bots to check breakable team (fix #693)
This commit is contained in:
parent
ae913a52db
commit
1394d08a28
3 changed files with 21 additions and 2 deletions
|
|
@ -366,7 +366,12 @@ public:
|
|||
return util.getClient (indexOfPlayer (ent)).team2;
|
||||
}
|
||||
|
||||
// sets the precache to uninitialize
|
||||
// get real gamedll team (matches gamedll indices)
|
||||
int getGameTeam (edict_t *ent) const {
|
||||
return getRealTeam (ent) + 1;
|
||||
}
|
||||
|
||||
// sets the precache to uninitialized
|
||||
void setUnprecached () {
|
||||
m_precached = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue