mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 18:27:55 +00:00
rulegen:: in find_new_shortcuts don't find subshortcuts
This commit is contained in:
@@ -401,6 +401,7 @@ EX void find_new_shortcuts(tcell *c, int d, tcell *alt, int delta) {
|
||||
walkers2.push_back(twalker(alt, delta));
|
||||
for(int j=0; j<isize(walkers2); j++) {
|
||||
auto w = walkers2[j];
|
||||
if(!seen.count(w.at))
|
||||
for(int s=0; s<w.at->type; s++) {
|
||||
twalker w1 = w + s;
|
||||
if(!w1.peek()) continue;
|
||||
|
Reference in New Issue
Block a user