mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
rulegen:: clear codes on neg rule mismatch
This commit is contained in:
parent
ecee5b7f21
commit
47d2b5b27b
@ -1526,6 +1526,8 @@ EX void rules_iteration_for(twalker& cw) {
|
|||||||
if(r[z] == cids[z]) continue;
|
if(r[z] == cids[z]) continue;
|
||||||
if(r[z] < 0 || cids[z] < 0) {
|
if(r[z] < 0 || cids[z] < 0) {
|
||||||
debuglist = { cwmain, ts.giver };
|
debuglist = { cwmain, ts.giver };
|
||||||
|
cwmain.at->code = MYSTERY_LARGE;
|
||||||
|
ts.giver.at->code = MYSTERY_LARGE;
|
||||||
throw rulegen_retry("neg rule mismatch");
|
throw rulegen_retry("neg rule mismatch");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user