Skip to content

Commit

Permalink
Slightly widened item interaction distance
Browse files Browse the repository at this point in the history
  • Loading branch information
muldjord committed Dec 1, 2021
1 parent e49f98c commit da2f812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boris.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ void Boris::checkInteractions()
for(auto &item: settings.itemList) {
if(interact && !falling && !grabbed && !settings.behaviours.at(curBehav).doNotDisturb &&
(!item->ignore || item->grabbed) &&
getDistance(item->getGlobalCenter()) < (size / 2.0)) {
getDistance(item->getGlobalCenter()) < (size * 0.75)) {
itemInteract(item);
break;
}
Expand Down

0 comments on commit da2f812

Please sign in to comment.