diff options
author | Aki <please@ignore.pl> | 2023-01-08 00:59:29 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-01-08 00:59:29 +0100 |
commit | 85e4741a6b39e436befacaf9778619696c9c5a33 (patch) | |
tree | 02c2f2c4b4d49711daac92a2aa772d3e2daea25b /sim/src/Builder.cpp | |
parent | 30865a57fb3f52607c14b9d210a256b3be3ddcb8 (diff) | |
download | kurator-85e4741a6b39e436befacaf9778619696c9c5a33.zip kurator-85e4741a6b39e436befacaf9778619696c9c5a33.tar.gz kurator-85e4741a6b39e436befacaf9778619696c9c5a33.tar.bz2 |
Renamed health to structure points where applicable
Diffstat (limited to 'sim/src/Builder.cpp')
-rw-r--r-- | sim/src/Builder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/src/Builder.cpp b/sim/src/Builder.cpp index 053ae93..f1e4762 100644 --- a/sim/src/Builder.cpp +++ b/sim/src/Builder.cpp @@ -39,7 +39,7 @@ Builder::operator()(const universe::ShipType& ship_type, const int team) const ship_type.max_speed * 2.0, ship_type.max_speed * 3.0); registry.emplace<AIState>(entity, 6000.0, Point{0.0, 0.0}); - registry.emplace<HitPoints>(entity, ship_type.base_health_points); + registry.emplace<HitPoints>(entity, ship_type.base_structure_points); return entity; } |