mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-19 21:53:04 +00:00
fixed >= to > in smart shortcut
This commit is contained in:
parent
99486bfc3c
commit
d1ed0ab779
@ -749,7 +749,7 @@ EX void look_for_shortcuts(tcell *c, shortcut& sh) {
|
||||
|
||||
for(auto it = sh.post.rbegin(); it != sh.post.rend(); it++) {
|
||||
auto& v = *it;
|
||||
if(tw.at->dist >= expected_dist && !tw.peek() && !(flags & w_less_smart_advance)) return;
|
||||
if(tw.at->dist > expected_dist && !tw.peek() && !(flags & w_less_smart_advance)) return;
|
||||
ufind(tw);
|
||||
tw += wstep;
|
||||
calc_distances(tw.at);
|
||||
|
Loading…
Reference in New Issue
Block a user