summaryrefslogtreecommitdiff
path: root/sim/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-04-24 23:55:02 +0200
committerAki <please@ignore.pl>2024-04-05 19:41:19 +0200
commit94d6d863e1b78766cdb5f286e3d9f374c02c5d33 (patch)
treedc6584452463e592e2674dd3e7536cc7cac2158b /sim/include
parent975339d07aeb193564221adff31b55a913d92a1e (diff)
downloadkurator-94d6d863e1b78766cdb5f286e3d9f374c02c5d33.zip
kurator-94d6d863e1b78766cdb5f286e3d9f374c02c5d33.tar.gz
kurator-94d6d863e1b78766cdb5f286e3d9f374c02c5d33.tar.bz2
Fixed Turrets percepting time too fast
Diffstat (limited to 'sim/include')
-rw-r--r--sim/include/kurator/sim/weapons.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/include/kurator/sim/weapons.h b/sim/include/kurator/sim/weapons.h
index 7dd5b3b..4c87b34 100644
--- a/sim/include/kurator/sim/weapons.h
+++ b/sim/include/kurator/sim/weapons.h
@@ -19,6 +19,7 @@ struct Turret
universe::TurretType type;
double delay = 0.0;
double reload = 0.0;
+ float action = 0.0;
int rounds = type.rounds;
void shoot_at(State& ctx, const entt::entity& target, double distance);
};