mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +00:00
converted wrongcode from rulegen_failure to rulegen_retry
This commit is contained in:
parent
0ed4b8f367
commit
e80782be87
@ -1392,7 +1392,7 @@ EX void rules_iteration() {
|
|||||||
if(val < 2 || val >= 8) {
|
if(val < 2 || val >= 8) {
|
||||||
debuglist = { treestates[id].giver };
|
debuglist = { treestates[id].giver };
|
||||||
println(hlog, "id = ", id, " i = ", i, " val = ", val, " code = ", treestates[id].code);
|
println(hlog, "id = ", id, " i = ", i, " val = ", val, " code = ", treestates[id].code);
|
||||||
throw rulegen_failure("wrong code in gen_rule");
|
throw rulegen_retry("wrong code in gen_rule");
|
||||||
}
|
}
|
||||||
r[i] = ((val & 1) ? DIR_RIGHT : DIR_LEFT);
|
r[i] = ((val & 1) ? DIR_RIGHT : DIR_LEFT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user