diff options
Diffstat (limited to 'src/systems/automating.cpp')
| -rw-r--r-- | src/systems/automating.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
| diff --git a/src/systems/automating.cpp b/src/systems/automating.cpp index 0d85957..61b97d9 100644 --- a/src/systems/automating.cpp +++ b/src/systems/automating.cpp | |||
| @@ -54,8 +54,7 @@ void AutomatingSystem::tick(double dt) | |||
| 54 | auto& ponderable = game_.getEntityManager(). | 54 | auto& ponderable = game_.getEntityManager(). |
| 55 | getComponent<PonderableComponent>(entity); | 55 | getComponent<PonderableComponent>(entity); |
| 56 | 56 | ||
| 57 | ponderable.velX = curAction.speedX; | 57 | ponderable.vel = curAction.speed; |
| 58 | ponderable.velY = curAction.speedY; | ||
| 59 | 58 | ||
| 60 | automatable.remaining -= dt; | 59 | automatable.remaining -= dt; |
| 61 | } | 60 | } |
