fix: more breakable fixes
This commit is contained in:
parent
c07d02c14e
commit
7238fe76f5
2 changed files with 2 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ edict_t *Bot::lookupBreakable () {
|
|||
start = getEyesPos ();
|
||||
break;
|
||||
}
|
||||
auto hit = doLookup (start, end, usesKnife () ? 32.0f : rg (72.0f, 256.0f));
|
||||
auto hit = doLookup (start, end, (usesKnife () || isOnLadder ()) ? 32.0f : rg (72.0f, 256.0f));
|
||||
|
||||
if (!game.isNullEntity (hit)) {
|
||||
return hit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue