Use a different Entity::Move override in MovementComponent

This commit is contained in:
SeanOMik 2020-07-12 22:36:04 -05:00
parent 6e76cc0175
commit 17610b1c82
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ void simpleengine::MovementComponent::Move(const float& delta_time, const float&
velocity.y *= max_velocity / abs; velocity.y *= max_velocity / abs;
} }
owning_entity.Move(velocity * delta_time); owning_entity.Move(delta_time, velocity);
} }
void simpleengine::MovementComponent::Update(const float& delta_time) { void simpleengine::MovementComponent::Update(const float& delta_time) {