summaryrefslogtreecommitdiff
path: root/digital/mimot/src/asserv/models.host.c
diff options
context:
space:
mode:
Diffstat (limited to 'digital/mimot/src/asserv/models.host.c')
-rw-r--r--digital/mimot/src/asserv/models.host.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/digital/mimot/src/asserv/models.host.c b/digital/mimot/src/asserv/models.host.c
index 68931682..409598ba 100644
--- a/digital/mimot/src/asserv/models.host.c
+++ b/digital/mimot/src/asserv/models.host.c
@@ -159,7 +159,8 @@ simu_table_test_guybrush (double p_x, double p_y)
return 0;
/* Boats. */
double bx = 325 + (400 - 325) * y / 1500. + 22;
- if ((x < bx || x >= 3000 - bx) && y < 740)
+ if (((x >= bx - 40 && x < bx) || (x >= 3000 - bx && x < 3000 - bx + 40))
+ && y < 740)
return 0;
return 1;
}