conf: get decal indices during config load
combat: do not init hitbox aiming if disabled nav: reverted some last changes nav: fixed check fall on ladders chat: added %g keyword that is replaced with graph author
This commit is contained in:
parent
7157cf1b2f
commit
ecb1f20303
12 changed files with 79 additions and 106 deletions
|
|
@ -180,7 +180,7 @@ bool Bot::checkBodyParts (edict_t *target) {
|
|||
}
|
||||
|
||||
// hitboxes requested ?
|
||||
if (game.is (GameFlags::HasStudioModels) && cv_use_hitbox_enemy_targeting) {
|
||||
if (game.is (GameFlags::HasStudioModels) && cv_use_hitbox_enemy_targeting && m_hitboxEnumerator) {
|
||||
return checkBodyPartsWithHitboxes (target);
|
||||
}
|
||||
return checkBodyPartsWithOffsets (target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue