summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/bench_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/bench_window.cpp b/bench/bench_window.cpp
index 99d7926..08f2236 100644
--- a/bench/bench_window.cpp
+++ b/bench/bench_window.cpp
@@ -194,7 +194,7 @@ void bench_window::on_click_new_round() {
.bnumber = 0
});
- if (!lib94::init_round(warriors.data(), warriors.size())) {
+ if (!lib94::init_round(warriors.data(), warriors.size(), 0, true)) {
Gtk::MessageDialog *md = new Gtk::MessageDialog("warriors do not fit in core; removing last warrior");
md->set_transient_for(*this);
md->set_modal();
@@ -208,7 +208,7 @@ void bench_window::on_click_new_round() {
update_ui();
return;
}
- assert(lib94::init_round(warriors.data(), warriors.size()));
+ assert(lib94::init_round(warriors.data(), warriors.size(), 0, true));
}
core.mut.lock();