Fix airport's box

This commit is contained in:
Shadow15510 2022-07-05 16:46:29 +02:00
parent 0a648cea10
commit b4d7f1fcdf
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ void display_around(struct calccity *calccity, struct camera *camera, struct map
if (camera->cursor_size[0] > 8 && camera->cursor_size[1] > 8)
{
unsigned short x = camera->cursor_size[0] * floor(camera->cursor_x / (floor(camera->cursor_size[0] / 8) + 1)) + 3;
unsigned short y = camera->cursor_size[0] * floor(camera->cursor_y / (floor(camera->cursor_size[1] / 8) + 1));
unsigned short y = camera->cursor_size[1] * floor(camera->cursor_y / (floor(camera->cursor_size[1] / 8) + 1));
drect_border(x, y, x + camera->cursor_size[0], y + camera->cursor_size[1], C_NONE, 1, C_BLACK);
}