From e80782be874c8afb03902ffd47c9ad9ee01697b5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 19 Aug 2021 13:22:31 +0200 Subject: [PATCH] converted wrongcode from rulegen_failure to rulegen_retry --- rulegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rulegen.cpp b/rulegen.cpp index 01086fd6..16ac4c88 100644 --- a/rulegen.cpp +++ b/rulegen.cpp @@ -1392,7 +1392,7 @@ EX void rules_iteration() { if(val < 2 || val >= 8) { debuglist = { treestates[id].giver }; 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); }