From 58c84c8a3ca93e9f57c2282f3174434b9da85e31 Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Sun, 24 Sep 2023 15:21:06 +0200 Subject: [PATCH] Fix detection for resuce droid on jump start; close #84 --- src/wipeout/ship_player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wipeout/ship_player.c b/src/wipeout/ship_player.c index e808ac8..edd2bb4 100644 --- a/src/wipeout/ship_player.c +++ b/src/wipeout/ship_player.c @@ -389,7 +389,7 @@ void ship_player_update_race(ship_t *self) { vec3_t best_path = vec3_project_to_ray(self->position, next->center, self->section->center); vec3_t distance = vec3_sub(best_path, self->position); - if (distance.y > 0) { + if (distance.y > -512) { distance.y = distance.y * 0.0001; } else {