mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-12-26 09:59:04 +01:00
Fix detection for resuce droid on jump start; close #84
This commit is contained in:
parent
6451b70356
commit
58c84c8a3c
1 changed files with 1 additions and 1 deletions
|
@ -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 best_path = vec3_project_to_ray(self->position, next->center, self->section->center);
|
||||||
vec3_t distance = vec3_sub(best_path, self->position);
|
vec3_t distance = vec3_sub(best_path, self->position);
|
||||||
|
|
||||||
if (distance.y > 0) {
|
if (distance.y > -512) {
|
||||||
distance.y = distance.y * 0.0001;
|
distance.y = distance.y * 0.0001;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue