1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00

rulegen:: in find_new_shortcuts don't find subshortcuts

This commit is contained in:
Zeno Rogue 2021-08-19 13:14:15 +02:00
parent cd52fe35b2
commit 5e249ba4f4

View File

@ -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;