diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-07-31 19:36:10 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-07-31 19:36:10 -0600 |
commit | 0a720a2259aa7b10475854964ebf74900456d229 (patch) | |
tree | fd34b35e49f1d27c1da873b7fa68d6b24104d04d /src/entities/soldato.c | |
parent | fc6e0037a2f0769fdbd4c18bd96f49d55f630757 (diff) |
Sergente stuff working
Diffstat (limited to 'src/entities/soldato.c')
-rw-r--r-- | src/entities/soldato.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/entities/soldato.c b/src/entities/soldato.c index f4ef912..46a0e23 100644 --- a/src/entities/soldato.c +++ b/src/entities/soldato.c @@ -37,13 +37,15 @@ void initSoldato(Entity * entity, Game * game) { .controller.bangbang.speed = 50, .controller.bangbang.stopAt = 0.0, .controlType = ENTITY_FLY_TO_POINT_BANG_BANG, - .rotationSpeed = 50.0 + .rotationSpeed = 50.0, + .applyRotation = true }; data->flyToPointFollowing = (EntityFlyToPointInfo){ .controller.speedPID = createPID(followingPID), .controlType = ENTITY_FLY_TO_POINT_PID, - .rotationSpeed = 50.0 + .rotationSpeed = 50.0, + .applyRotation = true }; } |