mirror of
https://github.com/SeanOMik/SimpleEngine.git
synced 2025-02-18 16:50:05 +00:00
Use a different Entity::Move override in MovementComponent
This commit is contained in:
parent
6e76cc0175
commit
17610b1c82
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ void simpleengine::MovementComponent::Move(const float& delta_time, const float&
|
|||
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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue