1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-29 16:32:53 +00:00

gp:: pattern value for INVERSE

This commit is contained in:
Zeno Rogue 2025-05-06 14:13:32 +02:00
parent a54de5273f
commit a32ddbb4f5

View File

@ -1423,6 +1423,13 @@ EX namespace gp {
} }
return C0; return C0;
} }
int pattern_value(cell *c) override {
println(hlog, "here");
auto c1 = get_mapped(c, 0);
return UIU(currentmap->pattern_value(c1));
println(hlog, "done");
}
}; };
EX hrmap* new_inverse() { return new hrmap_inverse; } EX hrmap* new_inverse() { return new hrmap_inverse; }