diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-15 14:54:55 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-15 14:54:55 +0100 |
| commit | 8c086739e1344fb8789e89074dd962c5719ab030 (patch) | |
| tree | 86ae878cd5f90a82b7fee454e4adae69de542bb4 /src/objects.c | |
| parent | 7b956089e6ba5162fb0b667f1c0a60f6ece90c38 (diff) | |
local session id generation, bullet icon drop, refactor
Diffstat (limited to 'src/objects.c')
| -rw-r--r-- | src/objects.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objects.c b/src/objects.c index c82f27f..350529d 100644 --- a/src/objects.c +++ b/src/objects.c @@ -37,10 +37,10 @@ void draw_objects_at_row(platform_window* window, int row) { if (!o.active) continue; box box = get_box_of_object(window, o); - render_quad_with_outline(box.tl_b, box.tr_b, box.bl_b, box.br_b, rgb(200,200,0)); + render_quad_with_outline(box.tl_d, box.tr_d, box.bl_d, box.br_d, rgb(200,200,0)); render_quad_with_outline(box.tl_u, box.tr_u, box.bl_u, box.br_u, rgb(200,200,0)); - render_quad_with_outline(box.tl_u, box.tl_b, box.bl_u, box.bl_b, rgb(200,200,0)); - render_quad_with_outline(box.bl_u, box.br_u, box.bl_b, box.br_b, rgb(200,200,0)); + render_quad_with_outline(box.tl_u, box.tl_d, box.bl_u, box.bl_d, rgb(200,200,0)); + render_quad_with_outline(box.bl_u, box.br_u, box.bl_d, box.br_d, rgb(200,200,0)); } } |
