Commit 311e8a4
committed
Adjusted estimate-jump-height to work a little better
* return FLT_MAX for infinite jump height
* don't reduce final height- it doesn't actually improve behaviour in a lot of cases, it's more consistent to let the AI try to take a big vertical climb than many smaller ones1 parent d6d3866 commit 311e8a4
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
1010 | | - | |
1011 | | - | |
| 1010 | + | |
1012 | 1011 | | |
1013 | 1012 | | |
1014 | 1013 | | |
| |||
1022 | 1021 | | |
1023 | 1022 | | |
1024 | 1023 | | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
| 1024 | + | |
1028 | 1025 | | |
1029 | 1026 | | |
1030 | 1027 | | |
| |||
0 commit comments