From e70f3d1fe6bca0d5bd59d08d9ecff1f491367127 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 26 Aug 2022 13:21:36 +0200 Subject: [PATCH] rulegen3:: fixes --- rulegen.cpp | 3 +++ rulegen3.cpp | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/rulegen.cpp b/rulegen.cpp index 0b659005..4fb5d3ab 100644 --- a/rulegen.cpp +++ b/rulegen.cpp @@ -2104,6 +2104,9 @@ EX void generate_rules() { flags |= w_numerical; start_game(); } + else if(WDIM == 3) { + flags |= w_numerical; + } else if(!arb::in()) try { arb::convert::convert(); if(flags & w_numerical) arb::convert::activate(); diff --git a/rulegen3.cpp b/rulegen3.cpp index 9d1fef70..aee3d6a7 100644 --- a/rulegen3.cpp +++ b/rulegen3.cpp @@ -1723,9 +1723,10 @@ int readRuleArgs3() { } else if(argis("-load-honeycomb")) { + PHASE(3); stop_game(); - string s = args(); - shift(); reg3::replace_rule_file = s; + shift(); string s = args(); + reg3::replace_rule_file = s; shstream ins(decompress_string(read_file_as_string(s))); ins.read(ins.vernum); mapstream::load_geometry(ins);