diff options
author | Aki <please@ignore.pl> | 2022-12-31 15:11:45 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-12-31 15:11:45 +0100 |
commit | bdc690d00c3c2774730dd893ddccb14efc9e0b94 (patch) | |
tree | d8b6506442a56ed68541642ab4b6717bb9382b9c /sim/src | |
parent | d90ab6b90f2507970c2da52b166d26a7c9b48d66 (diff) | |
download | kurator-bdc690d00c3c2774730dd893ddccb14efc9e0b94.zip kurator-bdc690d00c3c2774730dd893ddccb14efc9e0b94.tar.gz kurator-bdc690d00c3c2774730dd893ddccb14efc9e0b94.tar.bz2 |
Renamed misleading total_teams() method
Diffstat (limited to 'sim/src')
-rw-r--r-- | sim/src/BaseBattle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/src/BaseBattle.cpp b/sim/src/BaseBattle.cpp index 99c1b99..46c98ed 100644 --- a/sim/src/BaseBattle.cpp +++ b/sim/src/BaseBattle.cpp @@ -23,7 +23,7 @@ namespace sim BaseBattle::BaseBattle(const campaign::Scenario& scenario) : time {0.0}, _registry {}, - spawner {scenario.total_teams(), scenario.radius, 0.1} + spawner {scenario.last_team(), scenario.radius, 0.1} { const auto repo = universe::load_sample(); Builder build {_registry, spawner}; |