Skip to content

Commit bc5560f

Browse files
committed
Capped estimated jump height slightly more, until it can be tuned properly
1 parent 6c7372e commit bc5560f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/Entities/ACrab.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ float ACrab::EstimateJumpHeight() const {
758758
} while (currentVelocity.GetY() < 0.0F);
759759

760760
float finalCalculatedHeight = totalHeight * -1.0F * c_MPP;
761-
float finalHeightMultipler = 0.8f; // Make us think we can do a little less because AI path following is shit
761+
float finalHeightMultipler = 0.6f; // Make us think we can do less because AI path following is shit
762762
return finalCalculatedHeight * finalHeightMultipler;
763763
}
764764

Source/Entities/AHuman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ float AHuman::EstimateJumpHeight() const {
950950
} while (currentVelocity.GetY() < 0.0F);
951951

952952
float finalCalculatedHeight = totalHeight * -1.0F * c_MPP;
953-
float finalHeightMultipler = 0.8f; // Make us think we can do a little less because AI path following is shit
953+
float finalHeightMultipler = 0.6f; // Make us think we can do less because AI path following is shit
954954
return finalCalculatedHeight * finalHeightMultipler;
955955
}
956956

0 commit comments

Comments
 (0)