From 25776ec71cc240cc0a30dd1113ad6bf1e53ddf37 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 4 Dec 2022 00:37:54 +0100 Subject: Extracted battlefield size and moved into Scenario --- sim/src/BaseBattle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/src') diff --git a/sim/src/BaseBattle.cpp b/sim/src/BaseBattle.cpp index 621b6bb..fc12b9c 100644 --- a/sim/src/BaseBattle.cpp +++ b/sim/src/BaseBattle.cpp @@ -22,7 +22,7 @@ namespace sim BaseBattle::BaseBattle(const campaign::Scenario& scenario) : _registry {}, - spawner {scenario.total_teams(), 12000, 0.1} + spawner {scenario.total_teams(), scenario.radius, 0.1} { const auto repo = universe::load_sample(); Builder build {_registry, spawner}; -- cgit v1.1