diff options
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 }; } |