fp: Address more warnings on GCC
This commit is contained in:
parent
7a2b7618e8
commit
253d2826c9
@ -1094,7 +1094,6 @@ static void FP_Game_MoveEntity(FP_Game *game, FP_GameEntityHandle entity_handle,
|
||||
entity->velocity.y = 0.f;
|
||||
|
||||
Dqn_V2 const delta_pos = (acceleration * 0.5f * t_squared) + (entity->velocity * t);
|
||||
Dqn_V2 const entity_pos = FP_Game_CalcEntityWorldPos(game, entity->handle);
|
||||
FP_GameCanMoveToPositionResult move_to_result = FP_Game_CanEntityMoveToPosition(game, entity->handle, delta_pos);
|
||||
if (move_to_result.yes) {
|
||||
entity->local_pos += delta_pos;
|
||||
|
Loading…
Reference in New Issue
Block a user