summaryrefslogtreecommitdiff
path: root/sim/src
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-04 00:37:54 +0100
committerAki <please@ignore.pl>2022-12-04 00:37:54 +0100
commit25776ec71cc240cc0a30dd1113ad6bf1e53ddf37 (patch)
treee3617bd5c1f1b626445c3629ce30c393554b8f6c /sim/src
parent13e4f3e3908220d484b01b9fb6dc4375ab28a16e (diff)
downloadkurator-25776ec71cc240cc0a30dd1113ad6bf1e53ddf37.zip
kurator-25776ec71cc240cc0a30dd1113ad6bf1e53ddf37.tar.gz
kurator-25776ec71cc240cc0a30dd1113ad6bf1e53ddf37.tar.bz2
Extracted battlefield size and moved into Scenario
Diffstat (limited to 'sim/src')
-rw-r--r--sim/src/BaseBattle.cpp2
1 files changed, 1 insertions, 1 deletions
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};